application crush on android 6.0

47 views
Skip to first unread message

yassine...@gmail.com

unread,
Sep 5, 2016, 7:02:04 AM9/5/16
to CodenameOne Discussions
If you are experiencing an issue please mention the full platform your issue applies to:
IDE: NetBeans/Eclipse/IDEA
Desktop OS
Simulator
Device

Hi,

recently I installed my application on an android device with version 6.0,

after the installation for the first use of the application , it asks me for the permission for phone calls and it stops(crush), and really when i verified in manifiest file after the generation of the Android source code, I founded that the permission is already exists without any declaration by me!

thanks

Shai Almog

unread,
Sep 6, 2016, 12:40:48 AM9/6/16
to CodenameOne Discussions, yassine...@gmail.com
Hi,
this is probably due to this: https://www.codenameone.com/blog/java-8-api-23-defaults.html

See if setting the API level to 21 solves this.
Assuming it does I'd like to know which permissions you used and what functionality did you invoke. Logs from DDMS will also be helpful in tracking this down.
Reply all
Reply to author
Forward
0 new messages