I have an android project developed on eclipse. I migrated it to Android Studio and updated the support libraries. It started showing some weired behavior related to UI. The project had some nested scrolling functionality which was not supported then. Now the support library itself provides support for nested scrolling so that is causing problem. Is there any way through which we can know what was version of support library.jar? Since in eclipse we used to add jar files in the libs folder.
Related
I know that Android Studio is now the official IDE for developing Android apps, but my computer is really slow and I find it difficult to use Android Studio on it.
I'm using Netbeans for Android apps development and fortunately it works fine.
The problem I am having now is using the Android support libraries in netbeans. I found out that Android now uses the Gradle system for apps development in which the dependencies are declared, but the apps that that Netbeans creates don't have a Gradle file and I won't be able to add the dependencies.
My question is:
How do I create Gradle files in Netbeans?
Or how can I add the support libraries directly into my Netbeans projects without the need for Gradle?
I have downloaded the support libraries and I have also installed Gradle on my computer.
Recently I've removed my old Eclipse and download/install new version Neon.
I know I have to download SDK from Android SDK Manager. So I've download some releases which I needed and for "Extra" part could find Android Support Library.
I've checked Obsolete and found it, but I want to use new version of appcompat (24.2.0) which is part of Android Support Repository and I've downloaded, but can not add it by normal way (I think).
So how to add appcompat 24.2.0 into Eclipse?
Note:
When I want to import Existing Android code Into Workplace and address it to the appcompat there isn't anything to add, because it's Maven:
C:\android-sdk-windows\extras\Android\m2repository\com\Android\support\appcompat-v7\24.2.0
I tried to build Eclipse project that references android.support.design library (CoordinatorLayout and FAB inside it). I copied into my workspace android.support.v7.recyclerview library project and sucesfuly built it. Then did the same with appcompat-v7. That enabled me to build design library (previously also copied into workspace) which goes OK. Finally I built project, that references design library. Everything went well, designer presented good preview (API23), but running on device (API 17) didn't succeed- LogCat express disability to inflate CoordinatorLayout. TargetSDK was 17 and compilerSDk was 23. My support library is 23.1 version.
When making the same project in Android Studio (everything was wizard generated), I faced no problems. I noticed the same dependencies in gradle file, and SDKs are same as in Eclipse. Why those diferencies and where did I go wrong ?
You mean you have problems on Eclipse but none in Android Studio? Try lowering the compilerSDk or raising the TargetSDK to the latest release.
Can you please suggest me how do I manually add xamarin support library v4 jar file to the Components or some other way so that I would be able to use DialogFragment and other features.
The same question has also been asked in this but no one has proposed the solution.
I am actually working on xamarin using visual studio 2012. I am unable to use DialogFragment and other features because of not proper configuration of xamarin support library v4 in visual studio. I have already installed xamarin support library v4 using sdk manager and it exists in C:\Users\username\AppData\Local\Android\android-sdk\extras\android\support\v4
but visual studio is not loading this library, although it loads automatically. This path contains android-support-v4.jar and src folder as well.
I have also tried installing using nuget but I get the following error
Could not install package 'Xamarin.Android.Support.v4 22.2.1.0'. You
are trying to install this package into a project that targets
'MonoAndroid,Version=v2.2', but the package does not contain any
assembly references or content files that are compatible with that
framework. For more information, contact the package author.
The Xamarin.Android.Support.v4 supports android 1.6 and higher.
I have looked on this answer but it did not help me.
Thank you.
I would like to create an app based around this library in Android Studio. However, it doesn't have gradle files and it doesn't seem to work without them. How would I use this library in Android Studio?
Migrate the library from Eclipse to Android Studio, using Migrating from Eclipse.