hi i am trying my hand on android plugin but dont know why it likes only on my lg optimus and not like my friend's optimus balck and galaxy ace plus. it gives crash on both of this device everytime and running fine on my device everytime. i am attaching log.txt and apk (plz change the extention from zip to apk) and help me to solve this.
thnx
Comments
It may be a bit more help if you output some debug info between each loadLibrary(...)
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
thnx for reply i guess so system.loadLibrary doesnt have any issue otherwise it is supposed to crash at the start currently it is giving crash when i click on any button i had tried to debug this in c++ it is able to run every line untill return true and not able to run the first line of java code so i am confused where is the actual prob and on top of that this apk is able to run on my lg p500 without any issue
may be issue of armv7 ? but doesnt ndk is building for both arch atleast it is the what i am seeing in my libs folder
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
https://docs.google.com/file/d/0B7iwHFSez0W8SHIyVndoVzc0OG8/edit
and apk is on first post
sorry dont know any other sites to upload
thnx
then how it can work on my device i am really confused could you look at the project plz
I think this is a job for @atilim. I don't know how Gideros works internally so I could only make guesses from here.
My guess would be that during the onDrawFrame() the lua interpreter is called and something within the lua (maybe one of your plugins, maybe not) is causing this problem.
Maybe something is still being processed by the AdMob or LeadBolt libraries and multiple calls are getting through.
I would start with your plugins. I think there is some sort of conflict between your plugin & the Ad libraries which only manifests itself when you call one of the library functions.
Having commented out all of the java code for the AdMob and LeadBold, I put lots of debug in these functions and the problem persists without any of the debug so it is looking more likely there is a problem with your plugin to java bridge.
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
You totally ignore the fact that (*JVM).GetEnv fails and still proceed as though it is all OK.
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
for the info it is also giving crash on htc aria so i am now assuming that it is only my p500 ( the real smart phone ) that can run my plugin without any issue.
Notice the code is a bit shorter, and also notice the line where the error was.
I also made the java environment accessible to the whole file without having to call JVM->GetEnv in every function.
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive