简体   繁体   中英

No Resource found - Google Play Services version - Old Android Project

I am actually trying to open an old android project, which I have to edit. The project was coded back in Oct 14.

Now I downloaded the project from Github, and opened it in Android Studio via Import. When I try to build or debug, I get the error:

Error:(113, 28) No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version').

After hours of searching in similar topics I did not find a solution that helped me.

Has anyone an idea how to solve the problem?

Try this below Methods,I hope this will help you.

Edit 1:

Import Eclipse Project to Android Studio:

1.Start Android Studio and close any open Android Studio projects.

2.From the Android Studio menu click File > New > Import Project. Alternatively, from the Welcome screen, click Import project (Eclipse ADT, Gradle, etc.).

3.Select the Eclipse ADT project folder with the AndroidManifest.xml file and click Ok.

4.Select the destination folder and click Next.

5.Select the import options and click Finish.

6.The import process prompts you to migrate any library and project dependencies to Android Studio, and add the dependency declarations to the build.gradle file. For detail description try this link

https://developer.android.com/studio/intro/migrate.html#migrating_from_eclipse

Edit2:

Remove the line in the project.properties file that was making reference to the google_play_services_version .

All the Best.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM