将Eclipse应用和库迁移到Android Studio [英] Migrate Eclipse app and libs to Android Studio

查看:110
本文介绍了将Eclipse应用和库迁移到Android Studio的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在eclipse中有一个Android app 项目,该项目引用了3个 libs +一些 jar 文件,我想将其全部迁移到Android工作室.

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.

首先,我导出生成Gradle构建文件"(应用程序)并成功导入Android Studio.

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

我尝试手动创建根文件夹,但应用程序中的导入无法解析符号.."
我该如何迁移其余的lib和jar并实现它们?

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?

推荐答案

如果要将其余的libs和jars移至Android Studio,则可以通过三种不同的方法来实现.请阅读此链接 https://stackoverflow.com/a/35369267/5475941 .在这篇文章中,我解释了如何在Android Studio中导入JAR文件,并通过屏幕快照逐步说明了所有可能的方法.希望对您有所帮助.

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.

这篇关于将Eclipse应用和库迁移到Android Studio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆