Page 1 of 2

Appery export not compiling in Eclipse

Posted: Mon Dec 09, 2013 6:29 pm
by Matt Albinson

Hello,

The Eclipse export of my App (one of your tutorials) is not compiling.

I am using Android Studio 0.3.1.

The error occurs in the phonegap plugin source in childBrowser.java:

Error: (365, 25)
java: cannot find symbol
symbol: method setPluginsEnabled(boolean)
location: variable settings of type android.webkit.WebSettings

Is it possible that I did not configure my environment correctly? Do I need to add something to make the Phone Gap source compile?

Any help would be appreciated. Here is my Appery project info:

https://appery.io/app/projects/96e9a9...


Appery export not compiling in Eclipse

Posted: Mon Dec 09, 2013 7:46 pm
by Maryna Brodina

Hello! Have you changed anything on Source tab before exporting?


Appery export not compiling in Eclipse

Posted: Mon Dec 09, 2013 8:40 pm
by Matt Albinson

Hmm, "Make" vs "Build" is a big difference....sorry, new to this.


Appery export not compiling in Eclipse

Posted: Mon Dec 09, 2013 8:42 pm
by Maryna Brodina

So you were able to export through Appery.io?


Appery export not compiling in Eclipse

Posted: Mon Dec 09, 2013 8:48 pm
by Matt Albinson

Yes, was able to export from Appery and open in Android Studio.

The BarCode scanner project is full of compile errors, but I don't need that.

My App compiles fine now? I don't know what I did.

Thanks for the prompt response. You can mark this matter as closed.


Appery export not compiling in Eclipse

Posted: Mon Dec 09, 2013 8:50 pm
by Maryna Brodina

Ok, thank you for update!


Appery export not compiling in Eclipse

Posted: Mon Mar 10, 2014 6:39 pm
by Glenn Townsend

To add my 2 cents worth I as having the same issue.

It's to do with the version of Android you compile to. The one I downloaded was 4.4.2 which causde so many warnings and that error you had. I had to reduce the version to 4.2.2 in order for it to compile. Still loads of depreciation warnings though.

Is there a recommended Max version to use with currently exported code?


Appery export not compiling in Eclipse

Posted: Wed Mar 12, 2014 4:03 am
by Igor

Hello,

There is no recommended version, Version depends from app functionality. If you exported clean project without any changes - Can you compile it?


Appery export not compiling in Eclipse

Posted: Wed Mar 12, 2014 6:52 am
by Glenn Townsend

Like I said, only with eclipse set to target of 4.2.2 any higher than that and there are many errors and hundreds of depreciation warnings.


Appery export not compiling in Eclipse

Posted: Wed Mar 12, 2014 7:09 am
by Glenn Townsend

Hi, Like I said only with target set to 4.2.2 does it compile, any higher and you get errors and hundreds of depreciation warnings.