i am a newbie in making android apps in using android studio. i am doing the qr code make using zxing. i follow the website to do the steps which like adding the module and dependencies. However now i got these kind of errors. Can somebody help me in fixing it? thanks a lot.
3
- 1Looks like dependency against zxing is missing, in such case, check stackoverflow.com/questions/18656023/….9re– 9re2015-11-28 09:23:56 +00:00Commented Nov 28, 2015 at 9:23
- i already add in the module setting there...but still the same...Jeff– Jeff2015-11-29 02:28:28 +00:00Commented Nov 29, 2015 at 2:28
- I should, ah, also you should next time, look into the message part, which says 'bad class file magic(cafebabe) or version (0034.0000)'. it looks like you're using Java8. stackoverflow.com/questions/24662801/…9re– 9re2015-11-30 00:59:28 +00:00Commented Nov 30, 2015 at 0:59
Add a comment |
1 Answer
Set your mouse cursor on this error and click alt+enter to import class.This error existed because import havn't been declared.
2 Comments
Jeff
thanks i made it already but when i debug the program. Now come out another problem. Error:Execution failed for task ':app:preDexDebug'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_45\bin\java.exe'' finished with non-zero exit value 1 Can i know how to solve it?Thanks again.
Jeff
i edited my post already. Just click the message part link then it will show. Thanks.
