Matt Albinson
Posts: 0
Joined: Mon Dec 09, 2013 6:29 pm

Appery export not compiling in Eclipse

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...

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Appery export not compiling in Eclipse

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

Matt Albinson
Posts: 0
Joined: Mon Dec 09, 2013 6:29 pm

Appery export not compiling in Eclipse

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

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Appery export not compiling in Eclipse

So you were able to export through Appery.io?

Matt Albinson
Posts: 0
Joined: Mon Dec 09, 2013 6:29 pm

Appery export not compiling in Eclipse

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.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Appery export not compiling in Eclipse

Ok, thank you for update!

Glenn Townsend
Posts: 0
Joined: Mon Mar 10, 2014 2:37 pm

Appery export not compiling in Eclipse

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?

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Appery export not compiling in Eclipse

Hello,

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

Glenn Townsend
Posts: 0
Joined: Mon Mar 10, 2014 2:37 pm

Appery export not compiling in Eclipse

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.

Glenn Townsend
Posts: 0
Joined: Mon Mar 10, 2014 2:37 pm

Appery export not compiling in Eclipse

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.

Return to “Issues”