2010-06-09 6 views
0

내가 지난 주 정도에 대한 응용 프로그램 작업 있었고, 나는 그에게 다른 일을 테스트하기 위해 갔을 때, 내 콘솔이 나에게 다음 읽을 수 없습니다 :프로그램이 설치 및 java.lang.SecurityException가

[2010-06-08 17:13:36 - CellSafe2] ------------------------------ 
[2010-06-08 17:13:36 - CellSafe2] Android Launch! 
[2010-06-08 17:13:36 - CellSafe2] adb is running normally. 
[2010-06-08 17:13:36 - CellSafe2] Performing com.ryan.android.cellsafe.Activity activity launch 
[2010-06-08 17:13:36 - CellSafe2] Automatic Target Mode: launching new emulator with compatible AVD 'AVD1' 
[2010-06-08 17:13:36 - CellSafe2] Launching a new emulator with Virtual Device 'AVD1' 
[2010-06-08 17:13:38 - CellSafe2] New emulator found: emulator-5554 
[2010-06-08 17:13:38 - CellSafe2] Waiting for HOME ('android.process.acore') to be launched... 
[2010-06-08 17:14:16 - CellSafe2] WARNING: Application does not specify an API level requirement! 
[2010-06-08 17:14:16 - CellSafe2] Device API version is 6 (Android 2.0.1) 
[2010-06-08 17:14:16 - CellSafe2] HOME is up on device 'emulator-5554' 
[2010-06-08 17:14:16 - CellSafe2] Uploading CellSafe2.apk onto device 'emulator-5554' 
[2010-06-08 17:14:16 - CellSafe2] Installing CellSafe2.apk... 
[2010-06-08 17:14:31 - CellSafe2] Success! 
[2010-06-08 17:14:32 - CellSafe2] Starting activity com.ryan.android.cellsafe.Activity on device 
[2010-06-08 17:14:38 - CellSafe2] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.ryan.android.cellsafe/.Activity } 
[2010-06-08 17:14:38 - CellSafe2] ActivityManager: java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.ryan.android.cellsafe/.Activity } from null (pid=-1, uid=-1) requires android.permission.ACCESS_CHECKIN_PROPERTIES 

프로그램에 대한 아이콘이 내 에뮬레이터에 있으며, android.permission.ACCESS_CHECKIN_PROPERTIES을 (를) 내 Manifest에 추가했습니다.

에뮬레이터의 아이콘을 사용하여 프로그램을 실행하려고하면 어떤 이유로 프로그램이 "이 전화에 설치되어 있지 않습니다"라는 메시지가 표시됩니다. 콘솔이 성공적으로 설치되었다고 생각하면 재미 있다고 생각합니다 ...

왜 작동하지 않는가? 나는 다음 주 월요일에 수업이 예정되어있어 정말 도움이된다.

답변

0

ACCESS_CHECKIN_PROPERTIES 권한을 보유 할 수 없음을 확신합니다. 더 중요한 것은, ACCESS_CHECKIN_PROPERTIES 권한을 사용하는 SDK의 어떤 것도 알지 못합니다.

관련 문제