Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I have an old app, builds with actionbarSherlock and appcompact. I have import the project from eclipse to gradle, but when I compile the project the shell shows me a lot of errors that warnsme that there are duplicates. Like this:
Error: Attribute "subtitleTextStyle" has already been defined.
How can I fix it?
You can't use together ActionbarSherlock and Appcompat library.
They use the same attributes.
Also Actionbarsherlock was deprecated by the author 2 years ago.
I really suggest you switching to appcompat library. In this way you will able to use all the new features and the new support libraries (as the design support library).
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
is it possible to build apk on Android? Like it AIDE do.
Unfortunately Gradle is not available for AIDE, on their official website they stated that.
AIDE also supports basic Android Studio projects, which follow the default project structure. The full gradle build system is not yet
supported though.
Opening Android Studio projects in AIDE
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
On installation eclipse was working fine, but after updating support library and some other packages I get an error in appcompat folder in many theme files in the values folders in appcompat. Also no activity is created by default after this. Usually one hello world project used to open with an ActionBarActivity named MainActivity and layout file named activity_main.
I had checked create activity in the new android application wizard and took blank activity.
What should be done to create an error free hello world project by default?
You need to add support libraries in libs directory so that these errors are resolved. Check the official docs: https://developer.android.com/tools/support-library/setup.html#add-library
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
i want to my application could run in all of android version and after any research about it i'm find to component about that such as Sherlock and AppCompat whats difference Sherlock and AppCompat? which is best for my application to work all of android version such as Fragment , Actionbar or etc?
Sherlock is Hard to import and use that in Eclipse and Intllij and i can not work simply that.
#TuxWorld, Action bar is a component that adds a bar on top of your application.
Android provides a native implementation as part of SDK which is the "AppCompat" version you are referring to. "Sherlock" is an extension to the native implementation (Before there was a native implementation, Sherlock was the way to add action bar). Sherlock version is an open source library that you will have to add to your project where as SDK is already available for you. For most cases using Actionbar provided by AppCompat would fine. However depends on what you are really trying to achieve.
Hope this helps.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I've been looking at a few ActionBar scripts that support SDK 1.6 and above. Here's the three main ones I'm looking at:
https://github.com/johannilsson/android-actionbar
http://github.com/JakeWharton/ActionBarSherlock
http://android.cyrilmottier.com/?p=240
Which one do you recommend? or if you have another suggestion, let me know.
ActionBarSherlock is great library I've used it on several projects from Android 2.1 to 4.0 (it;s compatible to 1.6), the dev Jake Wharton is great at including the latest features from the Android compatibility library very quickly.
Here's a link to the demo app useful for seeing some of the things you can do with it.
I recommend google ioschedule app pattern. You could download it's source code.
Why not just use the actionbar that is provided in the backward compatibility api?
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I have a java code for contacts app in Android and it needs a package named
import com.google.android.collect.Maps;
I am not able to figure out how to include this in eclipse so that I can go ahead working with this app.
See Adding an External Library (.jar) using Eclipse: http://developer.android.com/guide/appendix/faq/commontasks.html#addexternallibrary
It seems that this comes from a cut of Google Guava Library.
Source code here:
https://github.com/android/platform_frameworks_base/tree/master/core/java/com/google/android/collect