Page 1 of 1

Issue with Android Build 3.0 libraries

Posted: Thu Jan 07, 2016 10:29 pm
by Miguel Navarro7469744

Ok,

I upgraded to from 2.2, to 2.3 and successfully built the app as an android apk. When I try to build it as 3.0 it fails with no errors. How can I figure out what's going on with this.


Issue with Android Build 3.0 libraries

Posted: Thu Jan 07, 2016 11:50 pm
by Miguel Navarro7469744

Ok, I went through my source tab and remove old directories and the barcode scanner plugin and it at least compiled.


Issue with Android Build 3.0 libraries

Posted: Fri Jan 08, 2016 12:51 am
by Miguel Navarro7469744

Well now after compiling and installing when I try to open the app I get the following error: net::ERR_FILE_NOT_FOUND (file:///android_asset/www/Logon.html). I built another one without removing any files (BarcodeScanner plugin) and it compiled but I still got the same error when launching app.

It looks like somehow there's an error in the upgrade build process and it's pointing to the wrong directory. How do I fix this?

I built a new app from scratch and it worked, so the process seems like it's failing for an upgraded app.


Issue with Android Build 3.0 libraries

Posted: Fri Jan 08, 2016 4:15 am
by Miguel Navarro7469744

Ok. I figured this out. The issue is that I must have edited the index.html page and because this page was edited the meta refresh url couldn't be modified by the builder so under the 3.0 libraries it was going to the wrong url. I looked at the values in the app I built new, and copied that from

pre
meta http-equiv="REFRESH" content="0;url=Logon.html"
/pre

to

pre
meta http-equiv="REFRESH" content="0;url=app/Logon.html
/pre
If I just delete the file would the builder recreate it?


Issue with Android Build 3.0 libraries

Posted: Fri Jan 08, 2016 11:30 am
by Serhii Kulibaba

Hello Miguel,

Sure, it is possible. Please click "Undo all source changes" for that: https://devcenter.appery.io/tutorials...