Migrate Eclipse app and libs to Android Studio

此生再无相见时 提交于 2019-12-10 13:49:43

问题


I have an Android app project in eclipse that references to 3 libs+ some jar files and I would like to migrate all to Android studio.

First, I export "generate Gradle build files" (app) and succeed import in Android Studio.

I tried to create root folder manualy but the Imports in the App "cannot resolve symbol .."
How do I migrate the rest libs and jars and implement them?


回答1:


If you want to move the rest of your libs and jars to Android studio, you can do it in three different ways. Please read this link https://stackoverflow.com/a/35369267/5475941. In this post I explained how to import your JAR files in Android studio and I explained all possible ways step by step with screenshots. I hope it helps.




回答2:


No need to export your project in android studio manage itself ,

  1. open android studio and select import project (eclipse adt etc)
  2. browse to your project root directory and pick your main project not library or dependent project .
  3. start wizard to import and wait to complete gradle build.


来源:https://stackoverflow.com/questions/35450972/migrate-eclipse-app-and-libs-to-android-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!