我正在使用舊的android
項目,該項目位於Eclipse
。我想遷移到Android
Studio
以獲得更好的支持。我有使用導入功能,但有這個錯誤。無論如何解決這個問題,併成功遷移?任何幫助非常感謝!由於將Android項目從Eclipse遷移到Android Studio時出錯
* Project singpost2013:/Volumes/Data/OneDrive/Singpost/Android/singpost2013/project.properties:
Library reference ../../../../Documents/Android_SDK/android-sdk-macosx/extras/google/google_play_services/libproject/google-play-services_lib could not be found
Path is /Volumes/Data/OneDrive/Singpost/Android/singpost2013/../../../../Documents/Android_SDK/android-sdk-macosx/extras/google/google_play_services/libproject/google-play-services_lib which resolves to /Volumes/Data/Documents/Android_SDK/android-sdk-macosx/extras/google/google_play_services/libproject/google-play-services_lib
這是我project.properties
文件
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target.
target=android-19
android.library.reference.1=../../../../Documents/Android_SDK/android-sdk-macosx/extras/google/google_play_services/libproject/google-play-services_lib
android.library.reference.2=../SPCaptureActivity
android.library.reference.3=../../../../Documents/Android_SDK/facebook-android-sdk-3.20.0/facebook
你可以讓你的工作更快完成創建使用一些自動生成的一個,而不是處理比較差導入功能AndroidStudio項目。添加文件,改變項目相關文件可以更容易解決。 – Tomcat
嗨,感謝您的回覆。你能否提供一些關於推薦方式的更多細節。我對Eclipse不熟悉 –
任何人都有解決方案嗎? –