Tag: eclipse

Align Center Menu Item text in android

Using following code <item android:id=”@+id/text” android:title=”@string/mainMenu” android:enabled=”false” android:layout_gravity=”center”> </item> I have a style defined as <style name=”MenuTextStyle” parent=”@android:style/TextAppearance.Medium”> <item name=”android:textColor”>6F6B6B</item> <item name=”android:gravity”>center_horizontal</item> <item name=”android:textStyle”>bold</item> <item name=”android:textSize”>14sp</item> But the menu text still is not in the middle. How to make it center in middle?

App Crashing With Proguard Enabled

My app runs perfectly without proguard enabled but when I enable it the app crashes right away. I have tried many combinations in the configuration to no avail. Is there something that I should be keeping that I’m missing? proguard config: https://gist.github.com/hanleyhansen/99fc07807950bae8e4f5 Unobfuscated log: https://gist.github.com/hanleyhansen/6cba7fc941a79d85802f onSuccess(): https://gist.github.com/hanleyhansen/e7a4916c42d3ca065c99

“Message description not found” warnings in strings.xml

I receive tons of annoying warnings from my strings.xml. To the left of each declaration I get a warning saying “Message description not found.”. How can I fix it?

Android: What is the bin/res/crunch folder used for?

While modifying a white label app, I needed to change a logo and found it was located in 2 locations (duplicated): res/drawable and similar folders (for other screen depths) bin/res/crunch/drawable and similar folders (for other screen depths) So I would like to know if I should care about the second folder, or if it’s something […]

Android: targeted res folders for debugging in eclipse

I have a project which I have a number of different branded versions, with two different res folders. ie. res-customer1, res-customer2 Using Maven build profiles I can easily build the project using the specified res folder. However when it comes to eclipse its another story. What I want to do is to have a setting […]

Module adapter for class could not be loaded. Please ensure that code generation was run for this module

I am getting this error when I try to run my App: E/AndroidRuntime(2314): java.lang.RuntimeException: Unable to create application in.mubble.billbytwo.GlobalApp: java.lang.IllegalStateException: Module adapter for class in.mubble.billbytwo.RootModule could not be loaded. Please ensure that code generation was run for this module. I think I am using Ant based build system I am not sure though, this is […]

Eclipse dont have java doc to show information about class and methods. how to attach those? +android

I’m working on android under eclipse holies environment. but my eclipse not helping me to find detail about class or method while writing code. Ex: Toast android.widget.Toast.makeText(Context context, CharSequence text, int duration) if i mouse hover on makeText() in above statement, getting following information Note: This element has no attached source and the Javadoc could […]

Android – Failed to find an AVD compatible with target 'Android 1.6' error

I’m trying to run a Hello World app for Android for the first time, but I keep getting a: Failed to find an AVD compatible with target ‘Android 1.6’ error when I try to create an AVD. I have tried the following solution in order to fix the issue: Checked that I have the right […]

Eclipse Content Assist Error

Lately I have been having more and more issues with the content assist in Eclipse. In some of my projects, I get no proposals from the content assist, and in other projects I get some or all of the expected proposals. Typically there is no “error” in Eclipse, but here is an example of one […]

Can't link to cocos2dx using eclipse for android on OSX

I’ve never spent so much time on initial setup for a development environment before, this is getting kind of ridiculous. I’m trying to run the demo code that comes with cocos2dx. I’m using: the eclipse flavor that comes with the ADK. cocos2d-2.1beta3-x-2.1.0 ndk-r8c Ive tried building an app template using create-android-project.sh which I had the […]

Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.