Software Archive
Read-only legacy content
17061 Discussions

debuggable property reverting to false when I build

Matthew_E_
Beginner
332 Views

Hi all,

Trying to debug a built app on Android 5.0. In XDK, I've set the debuggable property to "true," save, and then go to build tab as per normal. After the build is done, if I return to the Develop tab and check on the xml file, the debuggable property has been reverted to "false."
 

Any idea why this would happen? Anyone else had this issue?

Mepler

 

0 Kudos
2 Replies
Swati_S_Intel1
Employee
332 Views

You have to set debuggable=true in the intelxdk.config.additions.xml file. <preference name="debuggable" value="true" />

If you set it in intelxdk.config.xml it will get overridden by the default settings. Also, remember to set it back to false before publishing your app to the store.

0 Kudos
Matthew_E_
Beginner
332 Views

Ah, thanks. I did not see there were two files. A little confusing but now that you've pointed it out I'll give it a try!

 

 

0 Kudos
Reply