Page 1 of 2

Eclipse export is Broken

Posted: Wed Nov 18, 2015 4:59 pm
by Emmz

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?


Eclipse export is Broken

Posted: Wed Nov 18, 2015 8:34 pm
by Evgene Karachevtsev

Neil,

Please find our reply in the email.


Eclipse export is Broken

Posted: Wed Nov 18, 2015 9:59 pm
by Emmz

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


Eclipse export is Broken

Posted: Wed Nov 18, 2015 10:30 pm
by Emmz

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


Eclipse export is Broken

Posted: Thu Nov 19, 2015 3:25 pm
by Emmz

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.


Eclipse export is Broken

Posted: Thu Nov 19, 2015 6:07 pm
by Evgene Karachevtsev

Neil,

Thank you for the update, glad it works!


Eclipse export is Broken

Posted: Thu Nov 19, 2015 8:35 pm
by Bruce Stuart

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


Eclipse export is Broken

Posted: Fri Nov 20, 2015 3:01 pm
by Emmz

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.


Eclipse export is Broken

Posted: Mon Nov 30, 2015 4:23 pm
by Emmz

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


Eclipse export is Broken

Posted: Wed Dec 09, 2015 1:26 pm
by Alena Prykhodko

Hello,

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