0

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.

coding part enter image description here

message part

3
  • 1
    Looks like dependency against zxing is missing, in such case, check stackoverflow.com/questions/18656023/…. Commented Nov 28, 2015 at 9:23
  • i already add in the module setting there...but still the same... Commented 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/… Commented Nov 30, 2015 at 0:59

1 Answer 1

1

Set your mouse cursor on this error and click alt+enter to import class.This error existed because import havn't been declared.

Sign up to request clarification or add additional context in comments.

2 Comments

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.
i edited my post already. Just click the message part link then it will show. Thanks.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.