ECLIPSE ANDROID PROJECT IMPORT SUMMARY
|
======================================
|
|
Replaced Jars with Dependencies:
|
--------------------------------
|
The importer recognized the following .jar files as third party
|
libraries and replaced them with Gradle dependencies instead. This has
|
the advantage that more explicit version information is known, and the
|
libraries can be updated automatically. However, it is possible that
|
the .jar file in your project was of an older version than the
|
dependency we picked, which could render the project not compileable.
|
You can disable the jar replacement in the import wizard and try again:
|
|
android-support-v4.jar => com.android.support:support-v4:25.+
|
gson-2.8.1.jar => com.google.code.gson:gson:2.8.1
|
|
Potentially Missing Dependency:
|
-------------------------------
|
When we replaced the following .jar files with a Gradle dependency, we
|
inferred the dependency version number from the filename. This
|
specific version may not actually be available from the repository.
|
If you get a build error stating that the dependency is missing, edit
|
the version number to for example "+" to pick up the latest version
|
instead. (This may require you to update your code if the library APIs
|
have changed.)
|
|
gson-2.8.1.jar => version 2.8.1 in com.google.code.gson:gson:2.8.1
|
|
Moved Files:
|
------------
|
Android Gradle projects use a different directory structure than ADT
|
Eclipse projects. Here's how the projects were restructured:
|
|
* AndroidManifest.xml => sp_common_sdk\src\main\AndroidManifest.xml
|
* assets\ => sp_common_sdk\src\main\assets\
|
* libs\applog.jar => sp_common_sdk\libs\applog.jar
|
* libs\armeabi\liblbs.so => sp_common_sdk\src\main\jniLibs\armeabi\liblbs.so
|
* libs\armeabi\libttEncrypt.so => sp_common_sdk\src\main\jniLibs\armeabi\libttEncrypt.so
|
* libs\bugly_crash_release.jar => sp_common_sdk\libs\bugly_crash_release.jar
|
* libs\glidecompiler-4.6.1.jar => sp_common_sdk\libs\glidecompiler-4.6.1.jar
|
* libs\greendao-3.2.2.jar => sp_common_sdk\libs\greendao-3.2.2.jar
|
* libs\okhttp_3.9.1.jar => sp_common_sdk\libs\okhttp_3.9.1.jar
|
* libs\okio-1.13.0.jar => sp_common_sdk\libs\okio-1.13.0.jar
|
* libs\org.apache.http.legacy.jar => sp_common_sdk\libs\org.apache.http.legacy.jar
|
* libs\sp_common_lib.jar => sp_common_sdk\libs\sp_common_lib.jar
|
* libs\tbs_sdk_thirdapp.jar => sp_common_sdk\libs\tbs_sdk_thirdapp.jar
|
* res\ => sp_common_sdk\src\main\res\
|
* src\ => sp_common_sdk\src\main\java
|
|
Missing Android Support Repository:
|
-----------------------------------
|
Some useful libraries, such as the Android Support Library, are
|
installed from a special Maven repository, which should be installed
|
via the SDK manager.
|
|
It looks like this library is missing from your SDK installation at:
|
null
|
|
To install it, open the SDK manager, and in the Extras category,
|
select "Android Support Repository". You may also want to install the
|
"Google Repository" if you want to use libraries like Google Play
|
Services.
|
|
Next Steps:
|
-----------
|
You can now build the project. The Gradle project needs network
|
connectivity to download dependencies.
|
|
Bugs:
|
-----
|
If for some reason your project does not build, and you determine that
|
it is due to a bug or limitation of the Eclipse to Gradle importer,
|
please file a bug at http://b.android.com with category
|
Component-Tools.
|
|
(This import summary is for your information only, and can be deleted
|
after import once you are satisfied with the results.)
|