Miguel Navarro7469744
Posts: 0
Joined: Mon Apr 06, 2015 4:55 pm

Issue with Android Build 3.0 libraries

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.

Miguel Navarro7469744
Posts: 0
Joined: Mon Apr 06, 2015 4:55 pm

Issue with Android Build 3.0 libraries

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

Miguel Navarro7469744
Posts: 0
Joined: Mon Apr 06, 2015 4:55 pm

Issue with Android Build 3.0 libraries

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.

Miguel Navarro7469744
Posts: 0
Joined: Mon Apr 06, 2015 4:55 pm

Issue with Android Build 3.0 libraries

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?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Issue with Android Build 3.0 libraries

Hello Miguel,

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

Return to “Issues”