Page 1 of 1

Recompiling of Android apk fails

Posted: Mon Sep 09, 2013 3:34 pm
by WuBu
I have tried to Instrument our apk on several Android devices where I installed the 4.1.0. Service and also made sure, there is no other Version on. When instrumenting the apk, the green bar stops at appr. 70% and then results in an error with the following Details :


System.Exception: Failed to recompile the instrumented code. See details for more information: I: Smaling...
[3296,22] Error for input '"Login ': Unterminated string literal
[3302,24] Error for input '"': Unterminated string literal
[3297,4] missing STRING_LITERAL at 'invoke-static'
[3302,11] mismatched input 'Premium' expecting REGISTER
....


I understand that recompiling fails, but as our App and compiling works we have no idea how to get the app instrumented and deployed. Please help.

Re: Recompiling of Android apk fails

Posted: Tue Sep 10, 2013 5:03 pm
by Support Team
Hello,

You can try to instrument the apk file using source code.
Please read the section "Instrumentation with Source Code" in our user guide.

Regards,
Bernhard

Re: Recompiling of Android apk fails

Posted: Fri Oct 11, 2013 2:31 pm
by bnharsha
Hello Bernhard

I am also facing issue with instrumenting the my APK file. I need to submit evaluation results to one of my customers by next week. Please let me know can I share the APK file with you for debugging purpose

Regards, Harsha B-N

Re: Recompiling of Android apk fails

Posted: Tue Oct 15, 2013 5:38 pm
by Support Team
Hello,

I posted an answer here: Unable to Instrument APK file.

Regards,
Markus