HuangWeiTao / shelves

Automatically exported from code.google.com/p/shelves
0 stars 0 forks source link

Permission denied #35

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.svn checkout: svn checkout http://shelves.googlecode.com/svn/trunk/ 
shelves-read-only
2.open in IntelliJ,  
3.run on the conneced device

What is the expected output? What do you see instead?
Do not work.
Launching application: 
org.curiouscreature.android.shelves/org.curiouscreature.android.shelves.activity
.AddBookActivity.
DEVICE SHELL COMMAND: am start -n 
"org.curiouscreature.android.shelves/org.curiouscreature.android.shelves.activit
y.AddBookActivity" -a android.intent.action.MAIN -c 
android.intent.category.LAUNCHER
Starting: Intent { act=android.intent.action.MAIN 
cat=[android.intent.category.LAUNCHER] 
cmp=org.curiouscreature.android.shelves/.activity.AddBookActivity }
java.lang.SecurityException: Permission Denial: starting Intent { 
act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] 
flg=0x10000000 
cmp=org.curiouscreature.android.shelves/.activity.AddBookActivity } from null 
(pid=5493, uid=2000) not exported from uid 10171
at android.os.Parcel.readException(Parcel.java:1431)
at android.os.Parcel.readException(Parcel.java:1385)
at 
android.app.ActivityManagerProxy.startActivityAsUser(ActivityManagerNative.java:
2279)
at com.android.commands.am.Am.runStart(Am.java:617)
at com.android.commands.am.Am.onRun(Am.java:232)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:47)
at com.android.commands.am.Am.main(Am.java:75)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:297)
at dalvik.system.NativeStart.main(Native Method)

What version of the product are you using? On what operating system?
Samsung grand2, 

Please provide any additional information below.

no more

Original issue reported on code.google.com by 9su...@gmail.com on 22 Jun 2014 at 3:40