Likely there is "pilot error" here as I'm new to Android Studio. I downloaded Android Studio and the NXP NTAG application and couldn't get it to run. I got as far as this:
FAILED :buildInfoGeneratorDebug FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':transformDexWithInstantRunDependenciesApkForDebug'. > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: Failed to execute aapt
Likely the next step if for someone to ask me to do something to expose the true nature of the problem.
Solved! Go to Solution.
Yes, I hear you. I'm looking for a turn key solution. I can't go marching in demoing our product (w/an embedded NXP NFC chip) using the NXP branded Android Application. And a freshly compiled NXP Android Application from source code just does not run for me. So there is no chance to clean up and customize the source code with our house branding. So the project to show off the NXP NFC chip continues to sit on my shelf for another six months. Next time I get some free time.
Disabling the instant run feature did not help. But thanks for giving it a try.
Added later:
I have found these PDFs on the subject of compiling the NXP Android Application source code which may help...
http://www.nxp.com/docs/en/user-guide/UM10989.pdf
http://www.nxp.com/docs/en/application-note/AN11367.pdf
Added later...
The above documents did help. I had been building the project incorrectly. If you are having similar problems, I would read the above documents and double check you building procedure. As Android Studio can be confusion.
Hi Rick,
It looks like an Android development issue, but here we just support for NXP NFC ICs, so maybe you have to ask this question in some Android community/forum, for example, the stack overflow: Newest Questions - Stack Overflow
From my personal point of view, this looks like related with instant run feature of the Android Studio, so you may try to disable it and check if this makes any difference.
Hope that helps,
Have a great day,
Kan
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Yes, I hear you. I'm looking for a turn key solution. I can't go marching in demoing our product (w/an embedded NXP NFC chip) using the NXP branded Android Application. And a freshly compiled NXP Android Application from source code just does not run for me. So there is no chance to clean up and customize the source code with our house branding. So the project to show off the NXP NFC chip continues to sit on my shelf for another six months. Next time I get some free time.
Disabling the instant run feature did not help. But thanks for giving it a try.
Added later:
I have found these PDFs on the subject of compiling the NXP Android Application source code which may help...
http://www.nxp.com/docs/en/user-guide/UM10989.pdf
http://www.nxp.com/docs/en/application-note/AN11367.pdf
Added later...
The above documents did help. I had been building the project incorrectly. If you are having similar problems, I would read the above documents and double check you building procedure. As Android Studio can be confusion.