Hi,
I've opened a project for the first time with B4A8.0, updated the sdktarget to 26 and jar reference, and I'm getting an exception when I deploy the app on a virtual 8.0 android device.
I've been reading and I'm aware that I probably need to perform some changes on the permissions, but I read here and I don't get where I should make the change.
My app is based on this one and the starting intent is set up in the manifest file. Also, I didin't find which permission should I ask for.
Thank you very much!
I've opened a project for the first time with B4A8.0, updated the sdktarget to 26 and jar reference, and I'm getting an exception when I deploy the app on a virtual 8.0 android device.
I've been reading and I'm aware that I probably need to perform some changes on the permissions, but I read here and I don't get where I should make the change.
My app is based on this one and the starting intent is set up in the manifest file. Also, I didin't find which permission should I ask for.
Thank you very much!
B4A Version: 8.00
Parsing code. (0.12s)
Running custom action. (0.18s)
Compiling code. (0.34s)
Compiling layouts code. (0.01s)
Organizing libraries. (1.76s)
Generating R file. (1.57s)
Compiling generated Java code. (6.63s)
Convert byte code - optimized dex. (2.68s)
Packaging files. (1.95s)
Copying libraries resources (0.06s)
Found 3 resource files.
Signing package file (debug key). (1.43s)
ZipAlign file. (0.28s)
Installing file to device. Error
Security exception: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=mypackage.myapp/.main } from null (pid=5354, uid=2000) not exported from uid 10083
java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=mypackage.myapp/.main } from null (pid=5354, uid=2000) not exported from uid 10083
at com.android.server.am.ActivityStackSupervisor.checkStartAnyActivityPermission(ActivityStackSupervisor.java:1624)
at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:434)
at com.android.server.am.ActivityStarter.startActivityLocked(ActivityStarter.java:273)
at com.android.server.am.ActivityStarter.startActivityMayWait(ActivityStarter.java:827)
at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:4497)
at com.android.server.am.ActivityManagerShellCommand.runStartActivity(ActivityManagerShellCommand.java:410)
at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:141)
at android.os.ShellCommand.exec(ShellCommand.java:96)
at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:14889)
at android.os.Binder.shellCommand(Binder.java:573)
at android.os.Binder.onTransact(Binder.java:473)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:4256)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2935)
at android.os.Binder.execTransact(Binder.java:674)