1

I'm beginner with Java/Android and Parse. Today i need your help . I don't know what i'm doing wrong. Look to my picture

enter image description here

My .jar file is in "Lib" , but i'm receiving the red lines in my project. Also ,how can you see in Parse.initialize seems that this is not recognized.

1
  • Clear and rebuild the project. Commented Nov 5, 2014 at 1:00

1 Answer 1

1

you should import classes

add this import statement to your codes

import com.parse.Parse; 

and import every class you need you can also import all classes

 import com.parse.blablabla.....;

and if you have added .jar files you can fix imports in android studio .check this one

follow these steps

1) add parse libs to your project.

2)clean your project

3) add import statement

import com.parse.Parse; 

you can see i have no error after i did those steps

this is my project no errors

enter image description here

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

8 Comments

@Leogreen what? yesterday ?
Yesterday I did it : import com.parse.Parse; I added this but still got an error in runtime i did like in parse.com tutorial to android . you can see in picture above
yes ,but i did it before ,after i tried other thing . lol But my .jar file is in the right place?
ok very thanks! Thanks for your time! Tonight i'll try again ,,and i tell you about!
Wow helped me a lot. Thanks!! Yes now ,i have no more the red lines. is everything okay. But when i try to do this tutorial(parse oficial) parse.com/apps/quickstart#parse_data/mobile/android/native/new i don't have sucess ( nothing good ,nothing wrong).
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.