Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

Eclipse export is Broken

Using libraries 2.2
EXISTING project
Last export of project from Appery was 21Sept 2015 (Worked Fine)

Today:
Barcode scanner module missing .settings, bin folders.
.classpath,.project,AndroidManifest.xml,build.properties,build.xml,default.properties
are all empty files 0K
Appery export will not load Project with barcode scanner.

Changing to newer libraries is not an option for me.
Is there something i'm missing?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Eclipse export is Broken

Neil,

Please find our reply in the email.

Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

Eclipse export is Broken

"Please share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and tell us its name."

No need to share anything. All my projects with barcode services dont work anymore.
Create a test App. Set for libraries 2.2, add barcode service. Now export Eclipse project.
There is no barcode folder in the root anymore.
I have shared an existing project will support anyways.

Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

Eclipse export is Broken

Test ran App from Eclipse and tried barcode scan. Errors and App Crashes will error.
11-18 14:24:49.192: E/AndroidRuntime(14074): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{io.appery.project308115/com.google.zxing.client.android.CaptureActivity}: java.lang.ClassNotFoundException: Didn't find class "com.google.zxing.client.android.CaptureActivity" on path: DexPathList[[zip file "/data/app/io.appery.projectXXXXXX-71.apk"],nativeLibraryDirectories=[/data/app-lib/io.appery.projectXXXXX-71, /vendor/lib, /system/lib]]

Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

Eclipse export is Broken

Turns out to be because I had source changes to add plugins.
Which breaks the export when libraries are changed.
Undoing ALL source changes, and realizing the folder structure has changed a lot on the eclipse project generated using libraries over 2.1 fixed my problem.
Please make as solved and accept my apologies.
Tks.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Eclipse export is Broken

Neil,

Thank you for the update, glad it works!

Bruce Stuart
Posts: 0
Joined: Fri Oct 24, 2014 4:42 am

Eclipse export is Broken

i think it's a worthy post to put on the forum - that if you have brought in libraries previous to the most recent build - and then try to compile under IOS or ANDROID after having changed from 2.1 to 3.0 or 2.2 to 3.0 libraries - that your application will no longer compile - is a worthy point and something worthy of a separate post.

I know I spent a day + understanding this - and understanding how to best adapt my apps based on the new features and my desire to adapt these in my app v. the custom coding I had done with the plugin brought in.

best,

bruce

Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

Eclipse export is Broken

Good Point Bruce. And well said...
Appery has always said third party plugins are beyond the scope of support etc. While Appery allows you to edit, add source files to your project(which is great), most of my problems have been because of plugins after they update their software. So its a bit of a catch 22.
Think I will just add my plugins etc, via Eclipse from now on.

Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

Eclipse export is Broken

Wll this problem still exists....
Turns out undoing all source changes. Export as Eclipse, test app compiled from eclipse, throws com.google.zxing.client.android.CaptureActivity missing error still.
Export with 3.0 libraries, use Android Studio, test app, works fine.
So something is wrong with libraries 2.* libraries use with the barcode scanner??

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Eclipse export is Broken

Hello,

This doc should help https://devcenter.appery.io/documenta...

Return to “Issues”