Skip to content Skip to sidebar Skip to footer

Android Studio Wrong File Executed

I am beginning to learn developing apps on android studio through android training website. I followed the steps and created an empty project. However I included c++ support while

Solution 1:

Answered here:

If you're just changing the XML, but haven't changed the source code for the new project, then your XML is going to be overridden by the line

tv.setText(stringFromJNI());

Remove that line (or set your new text there instead) to fix your issue. It's caused by the fact that the XML is the starting point for your view, so any and all changes to that view during runtime will be the ones that you're likely to see.

Post a Comment for "Android Studio Wrong File Executed"