Menu
  • HOME
  • TAGS

Cannot be resolved or is not a field for SUPPORTED_ABIS,FLAVOR & VERSION_CODES.LOLLIPOP

android,eclipse,adt,android-5.0-lollipop

This problem is due to not setting the right Build target of your project Right click on your project Choose properties Choose Android Choose Target name whose API level is 21 or above. Press Ok ...

Android - Issue With Displaying Fragments

java,android,mysql,android-fragments,adt

The getView() Function your using will be returning null as the fragment hasn't has its view set yet (Its what your actually doing once you return the view). Instead you need to use view.findViewById() and search the view you just inflated.

The method getCharacters() is undefined for the type TessBaseAPI on Android

android,eclipse,image-processing,adt,tesseract

You should move the drawing inside the do loop. Updates: BitmapBiner = BitmapBiner.copy(Bitmap.Config.RGB_565, true); Canvas canvas = new Canvas(BitmapBiner); paint.setAlpha(0xA0); paint.setColor(Color.RED); paint.setStyle(Style.STROKE); paint.setStrokeWidth(1); do { lastUTF8Text = iterator.getUTF8Text(PageIteratorLevel.RIL_SYMBOL); lastConfidence = iterator.confidence(PageIteratorLevel.RIL_SYMBOL); lastBoundingBox = iterator.getBoundingBox(PageIteratorLevel.RIL_SYMBOL); count++; // draw bounding box for each character Rect r = new...

Unable to install IBM Worklight plugin due to dependencies

jquery,eclipse,adt,worklight

Worklight 6.1.0.0 does not support Eclipse Indigo. Please use: Eclipse Java EE 4.2.2 ("Juno" SR2), or Eclipse Java EE 4.3.1 ("Kepler" SR1) See System Requirements ...

“Sticky” items in Android ScrollView

android,eclipse,android-layout,scrollview,adt

I managed to get the library imported by manually copying over the Java src file into my project (and updating the package name) as well as the attrs.xml file. Plus this line to set the stickiness programmatically and everything works! my_item.setTag("sticky"); ...

Can't debug directly on ADT-1 Developer Kit

android,adt,android-5.0-lollipop,android-tv

While I don't know the reasons behind this, restarting the ADB and/or restarting the IDE usually does the trick. If you're adb connect-ing to ADT-1, then do adb disconnect adt_addr:4321 adb connect adt_addr:4321 where adt_addr is obviously the IP address of your ADT-1. If none of the above is working,...

Is it insecure to use hardcoded strings for xml elements?

android,textview,adt,hardcoded

It's bad practice as it makes your app less configurable, but it's not unsafe. In the folder res/values/strings.xml you should declare the string you are using for better practice. Here's a guide on how to do this: http://developer.android.com/guide/topics/resources/string-resource.html...

PNG transparent backgrounds appearing black when using Android Studio

android,android-studio,png,adt,android-drawable

Its seems to be problem in Theme used in xml file . -check it once if the theme is different in eclipse and Android Studio then you can correct it. by changing the Theme on file style.xml Hope this will helpful .thanks...

java.lang.ClassNotFoundException when install app from APK [duplicate]

android,eclipse,apk,adt

This is your error: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{my.package/my.package.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "my.package.MainActivity" on path: DexPathList[dexElements=[zip file "/data/app/my.package-1.apk"],nativeLibraryDirectories=[/data/app-lib/my.package-1, /vendor/lib, /system/lib]] Solution: You have added library project as a reference to your project and also may be you have added jar files for ChartView and support-v7 in your libs...

bug after obfuscating android app with ACRA

android,adt,proguard,acra

I don't know of a way to prevent obfuscation of all external libs, but hopefully this doc will get you past your ACRA-specific issues. In general, most Android 3rdparty libs will include a section in their documentation about how to configure Proguard to play nice with the lib....

Android appcompat v7 - imported with an error

android,eclipse,import,adt,eclipse-adt

This fixed my problem. I don't know why it is not accepted but it worked out for me.

ActionBar is null after migration to Gradle

android,gradle,android-actionbar,adt

Theme.Light does not have an action bar. That is the old Android 1.x/2.x theme, with the old title bar (thin grey strip with the app's name). Theme.Holo.Light, and a targetSdkVersion of 11+, will give you an action bar....

Whenever I clean adt project it creates a bundles of error of R.layout and some others

android,eclipse,adt

you R.java file will be automatically deleted on cleaning the project if any xml file in the project having error so first correct your errors in strings.xml file then clean the project . you must have changed. <string name="app_name">your app name</string> app_name here . if you have done so then...

Android Project Null Pointer exception

android,facebook,adt

You didn't set fragments[SPLASH] ...

Convert JSON to Android Bundle

java,android,json,bundle,adt

just a quick SSCCEE A.class // key for bundle ... public static final JSON_STRING = "jsonString"; Intent intent = new Intent(A.this, B.class); Bundle bundle = new Bundle(); bundle.putString(JSON_STRING,json.toString()); intent.putExtras(bundle); startActivity(intent); and then in B.class ... Intent intent = getIntent(); Bundle extras = intent.getExtras(); String jsonString = extras.getString(A.JSON_STRING); more info about...

Can't find tools inside SDK

android,adt

Go to SDk Manager and from browse locate your SDK folder and click select. then it will load the SDK and you are good to go!

How to change built-in C/C++ paths pointing to a deleted android-ndk-r9 installation?

android,eclipse,android-ndk,adt

Where is the setting coming from? It appears the information is held in the project's pathInfo file. Below, the project is a sample JNI project called AndroidPrng. $ cat /Users/jww/Eclipse/.metadata/.plugins/com.android.ide.eclipse.ndk/AndroidPrng.pathInfo t,1421045575000 i,/opt/android-ndk-r9/sources/cxx-stl/stlport/stlport i,/usr/local/cryptopp/android-armeabi/include i,/opt/android-ndk-r9/sources/cxx-stl/system/include i,/usr/local/cryptopp/android-armeabi/include/cryptopp i,jni...

System did not generate an Id for my new xml layout and show me same errors

android,xml,layout,adt

I sorted this out. So for anyone else still on the learning curve with me, the solultion is as noted in my comment. In addition - aapt = Android Asset Packaging Tool From the Developers Guide - "The Android Asset Packaging Tool (aapt) takes your application resource files, such as...

Some breakpoints not hit Eclipse ADT

eclipse,adt,breakpoints

Found it. This is an issue where breakpoints other than on the main thread are not hit. This is an exclusive problem on the Samsung Galaxy S5 under Lollipop. http://developer.samsung.com/forum/thread/android-studio-does-not-stop-on-some-breakpoints-when-connected-to-samsung-galaxy-s5-with-lollipop-5/202/277622?boardName=General&listLines=15&startId=zzzzz~...

Android SDK - aapt error : libstdc++.so.6 cannot open shared object file

android,linux,adt,libstdc++

You can try something like this sudo apt-get install lib32stdc++6 lib32z1 lib32z1-dev ...

how to create a dummy node and set it to NULL?

adt

This line node*dummyNode; creates a local variable that lives only inside your function createList. After the method is left, the variable is freed. I assume you use C or C++, thus you have to allocate memory with malloc node*dummyNode = malloc(sizeof(node)); ...

Eclipse: Cant create new Android Application Project?

android,eclipse,sdk,install,adt

Install the SDK platform-tools to solve the empty drop-down sub-problem

Not able to update ADT

android,eclipse,installation,adt

None of the answers provided related to this issue solved my problem. Eventually, I downloaded latest Android Studio and installed it. So far, extremely happy with its performance and features. I would recommend to install Android Studio.

Eclipse not creating new Activity and xml layout file (issues started after updating eclipse and sdk)

java,android,eclipse,adt,eclipse-adt

Latest As I already said that ADT 23.0.4 and SDK 24.0.1 are not compatible to each other. We have got another update to of Android SDK to 24.0.2 (May be their team read our this question and released an update so quickly). However this update has not been documented yet...

Are there debug XML tags for the ADT layout editor? E.g. to make collapsed views visible in preview

android,android-layout,adt,android-xml,graphical-layout-editor

You could use isInEditMode() in a custom layout class, to see if the layout is being rendered as a preview, in an IDE. However a much easier solution would be to keep it visible and just programmatically set it to GONE, once the layout is done inflating: findViewById(R.id.container).setVisibility(View.GONE); ...

How can I make ADT ArrayAdapter use any layout? It only lets me use textViewLayout, when I want to add other buttons

android,string,chat,adt,android-arrayadapter

You have to Override the getView(...) method in your MyArrayAdapter class. The View that is passed back from this method basically is one item of the list. This way, you can create your custom ViewGroup to be used as a List element. I recommend to you to read this Tutorial:...

Android: What does “X” in version “4.X (L Preview)” and “Preview” in “L Preview” mean, and why does the combination “Android 4.X (L Preview) imply”?

android,eclipse,adt,android-5.0-lollipop

Before the final version of "Android 5.0 (Lollipop)" was release, Google published a beta (or preview) version of the new API. At this time it was not clear (in public) if this version would be called Android 4.5 or Android 5.0. For the "L" in the name, I can only...

Aptana error: parsing data for android-22 failed

java,android,eclipse,adt,aptana3

I had the same issue. I believe it was related to quite outdated Eclipse version - I was still trying to build with Eclipse Indigo. Now I have the following setup working for me: I installed Eclipse Luna Java developer version I installed the ADT plugin (I believe the URL...

Android Studio - Tablet emulator not showing correct resolution

java,android,android-studio,adt,nexus-10

As requested by OP, In the last step while creating your AVD, go to Advance Settings and select appropriate skin (or preferably select 'No Skin' option) to make sure your it comes with resolution that you want. ...

Is there a way to find out which method takes most time ? Eclipse Java [duplicate]

java,android,eclipse,adt,timing

It depends what're you going to test. In case you develop applications for Android you should try out the TimingLogger class. Take a look at this article describing the usage of the TimingLogger helper class. A very goot tool is JMeter and there is a plugin for Android as well....

Warnings in Android Developer Tools - Eclipse

java,adt

No, compiler removes them after compilation. But two issues that might come up: code clutter If you import some classes from jar and later removed jar but not imports, then you may get compile time error ...

In switch to Android Studio should my SDK location be the same as Eclipse version?

eclipse,sdk,android-ndk,android-studio,adt

cant comment on details of OSX but on linux/AS with Eclipse & AS , i found follow to help: provision environment to use multiple versions of java JDK install oracle JDK 1.7 that will be just for use by shell script running AS note ASRoot/bin/studio.sh .... if [ -n "$STUDIO_JDK"...

Android: scale several buttons to screen size

android,button,adt,scale

You can use Weight concept for it. Your buttons will be look same in all screens. Firstly divide screen in 2 horizontal parts with width weight 50 50 each and height match parent. Then Add 3 buttons to each parts with weight in height as 33.33 as below: <?xml version="1.0"...

Eclipse:This Android SDK requires Android Developer tools 23.0.0 or above?

android,eclipse,sdk,adt

read how to revert eclipse to older versions of ( ADT, SDK ) get the downloads and install them. dl.google.com/android/android-sdk_r22.6.2-linux.tgz dl.google.com/android/android-sdk_r21.0.1-linux.tgz --EDIT-- i use linux above are 2 linux links for dwnload respective version. substitute your OS and maybe google a little and you will have the link for R21...

How to download additional android SDK on eclipse adt

java,android,eclipse,sdk,adt

This is because SDK manager is not able to connect to google server. Might be your firewall is blocking it. Things you can try : 1)Adding adb.exe and java.exe in your firewall's trusted programs may solve the issue. 2)Go To Tools -> Options in SDK Manager. Check https to force...

Generate random numbers from 0 to 7 with every number appearing 2 times in java ADT

java,random,adt

A straightforward way is to do it with Collections.shuffle(). Pseudocode: for(0 to 7) myArrayList.add(num); myArrayList.add(num); Collections.shuffle(myArrayList); // Convert to array if necessary ...

How to enable sample based profiling of Android on Eclipse?

android,eclipse,adt

It turns out that sample based profiling is available in later versions of Android (Kitkat and up I think, but I'm not sure). I was trying it on Jellybean and that's why I got no option. So the device on which you're running the game for profiling should be running...

Eclipse ADT not generating MainActivity

java,android,eclipse,sdk,adt

The ADT and SDK Tools must be compatible. The latest ADT version is "ADT 23.0.4". And the corresponding SDK Tools version is 23.0.5. You have updated your SDK Tools version to 24.0.1, but there are no ADT version can support. So you should roolback to the SDK Tool version 23.0.5....

Converting GADT to phantom types

ocaml,adt,gadt

You can't do this without GADT, as phantom type cannot serve as a witness for a compiler, that an expression has specific type, since with phantom type you actually can do the following: let bool b : int value = Bool b;; val bool : bool -> int value =...

What does this indicator on the ADT mean?

android,adt

The graphic shows the values of the maximum usable runtime memory, and the memory currently being used. Often when you have a large number of projects opened and have ticked the Build Automatically setting, Eclipse needs larger and larger amounts of runtime memory. The current maximum memory value can be...

Queue Won't extract

c,pointers,queue,adt

The code you have provided seems to do the opposite of what you seem to require: In main you have this call to dequeue: nodo *newHead = dequeue(&testa); Do you mean to return the old head? Your dequeue function takes a pointer to the head. It should be a pointer...

Eclipse-ADT issues about No resource found that matches the given name

android,eclipse,adt,android-image,eclipse-adt

I myself found the solution for this, just upgraded the version to Eclipse Luna and reinstalled SDK manager.Inside that installed API20 ie Android 4.4w.2.Now all are working fine. Thankyou for all who replied.....

Trouble with installing new ADT Plugin for Eclipse

android,eclipse,adt,eclipse-adt

I solved my problem so describe here what I did maybe it save someone else! 1- to get rid of this error disable your antivirus protection make sure that your os user has full permisions for writing and deleting files be sure your eclipse folder is in c:\ run eclipse...

Unable to install IBM Worklight plugin in Eclipse ADT

eclipse,adt,worklight

IBM Worklight 2 versions of Eclipse: Eclipse Java EE 4.2.2 ("Juno" SR2) Eclipse Java EE 4.3.1 ("Kepler" SR1) Use one of the above....

I need an advice for optimal implementation of a program with priority queue and search

c,pointers,queue,adt

question: how to select patient via social security number? IF the social security number is a field in the struct being used to make nodes in the linked list. The simply start at the head pointer of the linked list, stepping one by one through the linked list. at each...

Correct Java dependencies installed for eclipse ADT development

java,android,eclipse,adt

In my experience I have had issues like this if not running eclipse as Administrator. Make sure that you aren't being blocked here. EDIT: Please note Chris Stratton's concers regarding running an IDE as Administrator, as seen in the comments below. EDIT 2: In my more recent experience, I have...

ADT (Eclipse) vs. Android Studio: How much APK file size difference is normal?

android,eclipse,android-studio,apk,adt

By reverse engineering the classes.dex files I found out that my code wasn't obfuscated in Android Studio. Even though it seemed to me that ProGuard was enabled via runProguard true in my build.gradle and the checkbox asking for ProGuard before generating the signed APK file. I had to change the...

How to make buttons work separably from each other

java,arrays,swing,jbutton,adt

Yo may instead want to bind the keys to the content pane of the frame, instead of the button. You can use the same Action for both the button and key bind. See code below. I get the content pane JPanel contentPane = (JPanel)frame.getContentPane(); And get the input and action...

How do I get eclipse ADT to show on my device for debugging?

android,eclipse,debugging,adt,device

If you have correct driver installed for USB debugging , You can do debugging/ run via run-> run configurations->click Target tab-> select always prompt to pick device...

Why is my method never returning anything but null?

java,android,multidimensional-array,adt,path-finding

wouldn't it be simpler to keep a list of all the rooms? – njzk2 Apr 30 at 16:10 Well, I followed this suggestion (made an ArrayList of a custom Pair class, and stored expected input-output in there), and this problem with the project, at least, is solved. I've still no...

Error in android projects -part 2

android,eclipse,eclipse-plugin,adt

ADT 22.6.2 (March 2014) Dependencies: Java 1.6 or higher is required. Eclipse Indigo (Version 3.7.2) or higher is required. This version of ADT is designed for use with SDK Tools r22.6.2. If you haven't already installed SDK Tools r22.6.2 into your SDK, use the Android SDK Manager to do so....

Unable to resolve target 'android-21'

java,android,eclipse,adt

Right Click on Project -> Properties -> android -> choose your target api level you have, Then press Apply and Ok And clean the project once and rebuild it....

Android Development Tools download no longer exist

android,eclipse,adt

i am not sure if this as latest build but try to download this, and update from SDK-Manager i know how it feel on 1st day at new job, with unprepared Env. Download Windows Download MAC good luck...

How to bring back R.java file on eclipse? [duplicate]

android,xml,eclipse,adt,r.java-file

Alright folks! Figured it out! Turns out it has everything to do with Eclipse's updates, in which in generates the activity a different way than it used to. Instead of generating it with just the layout it also has the fragment layout thing which I still have no idea what...

Different structs in the same node Linked Lists C

c,struct,adt

I would make structures for the types that you need to support, and then a union with a type indicator in the linked list node: typedef struct { int a, b, c; } Type1; typedef struct { char buf[80]; } Type2; typedef struct { int a; float b; } Type3;...

What is the final version of the ADT Bundle?

adt,eclipse-adt

For historic reasons, I leave you the links to the last versions of ADT: linux 64 bit: http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip linux 32 bit: http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip MacOS X: http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip Win32: http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip Win64: http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip ...

Error using Android Design Support Library: attr backgroundTint not found

android,eclipse,adt

I was able to fix the issue with @igece solution, but later I found out that the real issue is an outdated appcompat-v7 library. After upgrading it to the latest version nothing had to be edited on Google's libraries....

Installing apk on emulator in mac

android,osx,apk,adb,adt

Thanks a ton to @Uriel Frankel. Yet, all those tips and tricks given by him did not work out for me due to low memory in my macbook. So I have used Genymotion emulator(http://techapple.net/2014/05/3-best-android-emulators-for-mac-os-macbook-run-and-install-android-app-on-your-mac-os-x-macbook-airpro/) instead of default android emulator and successfully launched the app by installing it. You can all...

Android apk Debug mode works fine but release mode gives too many warnings

android,eclipse,adt,proguard,release-mode

OK after a lot of googling and searching within stackoverflow itself, I have manages to get a solution. The following is my proguard-project.txt file: -libraryjars /libs/android-support-v4.jar -libraryjars /libs/apache-mime4j-core-0.7.2.jar -libraryjars /libs/gcm.jar -libraryjars /libs/httpclient-4.3.3.jar -libraryjars /libs/httpcore-4.3.2.jar -libraryjars /libs/httpmime-4.3.3.jar -libraryjars /libs/library.jar -libraryjars /libs/nineoldandroids-2.4.0.jar -keepnames class org.apache.** {*;} -keep public class org.apache.** {*;} -dontwarn...

popStack pops out data that I didn't push (stack adt)

c,data-structures,stack,adt

for (i = 0; i < 2; i++) { ... pushStack (stack, &i); // Push address of i } You are pushing (same) address of i twice. Which after loop end contains 2. When you pop back, you get the address which contains 2 and hence the output is 2...

Android return to app call method

android,return,adt,multitasking

This problem is more tricky than it may look like. When you return to app after leaving it, then is called method onResume of activity which was active when app was interrupted. But same happens when you go from one activity to another (onResume of second activity is called). If...

Android ADT build path issue, how to fix?

android,eclipse,adt

If anyone getting the same problem delete appcompat_v4 from the libs folder when creating a new project

Set up a timer to measure how long an app is running

java,android,timer,adt

Use a shared preference and store a start time when the application is started. System.currentTimeMillis() // Current time in milliseconds. On start SharedPreferences preferences = context.getSharedPreferences("SomeApp", 0); SharedPreferences.Editor editor = preferences.edit(); editor.putLong("startTime", System.currentTimeMillis() ); editor.commit(); Then at any point you can pull up this value and calculate time played. SharedPreferences...

New Android project fails to create successfully

android,eclipse,adt,eclipse-adt

Go to Android SDK Manager and download Android Support Library like explained here: No resource found that matches the given name '@style/Theme.AppCompat.Light'. Since you want to support Api from level 8, and from that themes changes a lot, you need some libraries to do "retro compatibility".. Also pay attention when...

Imported Android project still refers to external libraries but can't find them

android,eclipse,import,adt,libraries

A good way to add external JARs to your Android project or any Java project is: Create a folder called libs in your project's root folder - you already had this Copy your JAR files to the libs folder Now right click on the Jar file and then select Build...

Where do I download Eclipse?

android,eclipse,android-studio,download,adt

http://tools.android.com/download Here is a link I found on google you can get the binary or build it yourself.

Android SDK requires ADT version 23 or above

android,eclipse,cordova,adt

It seems that eclipse has edited or deleted files when updating follow steps for updating eclipse 1. Download Eclipse from the official site 2. Download and install JDK latest version 3. After installing the eclipse, go to Help > Install New Software. 4. Click Add, in the top-right corner. 5....

How to run Selenium script on Android?

android,firefox,selenium-webdriver,adt

Have you looked at Selendroid (http://selendroid.io/)? It is a Selenium implementation for Android that extends the framework to support native Android applications. They even provide a nifty quick start guide: http://selendroid.io/quickStart.html

Which screen size qualifiers should I choose?

android,orientation,adt,screen-size,mobile-devices

No, it won't support smallest width qualifiers. (Supported only in Android 3.2+) You'll have to use the "old school" way of supporting multiple devices. On how to do this you can follow this answer: http://stackoverflow.com/a/15113877...

Empty json data in Release build (using proguard)

android,json,adt,proguard,spring-android

I guess that it is caused by proguard. Proguard is probably obfuscating some portion of your code, but this code is dynamically invoked by Spring (and jackson ? you didn't mention it). (and so once it is obfuscate : dynamic invocation failed) So try to : disable proguard to confirm...

Failed to configure parser

android,eclipse,adt

From your stack trace, the error at hand appears to be: org.xmlpull.v1.XmlPullParserException: Binary XML file line #4: invalid drawable tag shape There may be additional issues happening here, but it's probably a good idea to take out the android:thickness="0dp" line in your focus_border_style_2.xml file. This is because the Drawable Resources...

AVD won't start up

java,android,eclipse,adt,avd

My problem was that I was using Android 4.4W which (as I realized later) is the so-called Android Wear and is applicable to very specific devices only (like watches e.g.). After switching to the normal Android 4.4.2, the issue described in my question disappeared.

what i choose? adt(eclipse) or android studio [closed]

android,android-studio,adt,software-distribution

Google does not support Eclipse ADT anymore. you have to ready about Android Studio. I think migration Eclipse to Android Studio is not really hard....

Android - Issue with size of EditText in Layout xml

java,android,android-layout,android-fragments,adt

Just change android:layout_width to match_parent. This will fill up all the available space horizontally. <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/body" /> <EditText android:id="@+id/body" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:scrollbars="vertical" /> <Button android:id="@+id/confirm" android:text="@string/confirm" android:layout_width="match_parent"...

After import from Eclipse to Android Studio cannot run Execution failed for task ':app:dexDebug"

android-studio,migration,adt

Aha! Seems the answer was further up in trace: The error was com.android.dex.DexException: Multiple dex files define Lcom/nineoldandroids/animation/Animator$AnimatorListener; So I found the answer here: ListViewAnimations Library Causes TOP-LEVEL-EXCEPTION Part of the trick is not only to add the line to build.gradle saying compile files('libs/nineoldandroids-2.4.0.jar') but also to remove the JAR...

Stop button not stopping current android unit test

android,junit,adt

In setUp() I start activity with a button. When pressed, I broadcast action back, and call System.exit() in receiver. ==> ./src/org/foo/StopButtonInstrumentationTestCase.java <== ... public class StopButtonInstrumentationTestCase extends InstrumentationTestCase { public void testSleep() throws Exception { Thread.sleep(10000); } public void testSleep2() throws Exception { Thread.sleep(10000); } @Override protected void setUp() throws...

Unable to find Tools -> Manage Add-on Sites… in Android's Eclipse ADT Bundle

android,adt,eclipse-adt

My Bad... Actually tools is not a part of any options present in the pop up. You are able to see it when you check out the main menu on the top left of your desktop. As far as ubuntu is concerned it is not straight forward visible which made...

How to target Google Glass 4.0.4 SDK 15 when released development kit preview uses SDK 19

android,adt,google-glass

You should be targeting the latest release (for now XE16.11, API level 19, KitKat). Each Google Glass device will update automatically to the latest release (other than for situations where the user has taken extraordinary measures to delay an upgrade). During this "Explorer" period, you should always update your Glassware...

The constructor Object(Context, int, List) is undefined

java,android,adt

To fix all your problems, you need to make your class extend ArrayAdapter. public class CustomDrawerAdapter extends ArrayAdapter { ...

How to add 'joda-time' library to Android application?

android,adt,jodatime,aapt

It looks like the issue was something peculiar to the build scripts I was working with. In the build process, only .class files were making their way from the .jar libraries I was referencing into the application package (apk). To get around this, I had to change our build scripts...

Unfortunately, (My app) has stopped. Eclipse Android [duplicate]

java,android,eclipse,adt

In your MainActivity.java at line no 34 you are trying to initialize some widget that is not present in your xml layout which you have set it in your setContentView(R.layout.... That;s why you are geting nullpointerexception. EDIT: change your setContentView(R.layout.activity_main) to setContentView(R.layout.fragment_main)...

After copying ADT Bundles from one ubuntu machine to another eclipse doesn't open

java,android,eclipse,android-ndk,adt

This could be due to a number of things: If the installation directories are not identical on each system, that could cause a problem. Eclipse often saves settings in configuration files that contain full pathnames. Environment variables - Eclipse and/or Java might have a dependency on an environment variable (JAVA_HOME,...

Error parsing XML: junk after document element - Building an Icon Pack

android,xml,eclipse,adt,eclipse-adt

XML files have a strictly defined structure which you must follow. In this case everything must be between the <resources> .... everything must be here .... </resources> tags. Putting anything after the </resources> will result in the 'not well formed error'. (The <?xml version="1.0" encoding="utf-8"?> is the exception and must...

Running an app in Eclipse AVD

java,android,linux,eclipse,adt

First Clean your project such that there are no errors. Ensure you've your AVD up and running Select your project --> right Click -->Select 'Run as' --> Select --> Android Application --> This should bringup a new window which shows your AVD --> Select your AVD --> Click 'Ok'.....

How to import all Android classes in a .java file in ADT

java,android,eclipse,adt

So, is there another way I could import all the android classes in order for me to save the time of importing each one individually? import android.*; will only import classes and interfaces that are directly in the android package. To import all classes/interfaces in android.app, use import android.app.*;....

How to close AVD Manager in eclipse Luna

java,android,eclipse,android-emulator,adt

Hey just click on 'esc' button. It will be closed.

Android: set drawable over button

android,button,layout,adt

Try this code: <Button android:id="@+id/Submit" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:layout_marginTop="23dp" android:drawableRight="@android:drawable/ic_menu_directions" android:text="Button" /> Instead of this "@android:drawable/ic_menu_directions" you can choose any image from drawable...

Eclipse Luna - Android SDK

android,eclipse,adt

The only Eclipse Version with ADT incluced is Juno yet. You can try to download the single ADT-Plugin in Eclipse: https://dl-ssl.google.com/android/eclipse If you have the Android SDK installed you also have to add the directories "tools" and "platform-tools" to your environment path.

Missing drawables at runtime

android,eclipse,android-studio,adt

I implemented the new material design like this: Theme.Material.Light.NoActionBar The correct form (after including appcompat v7): Theme.AppCompat.Light.NoActionBar ...

Which Eclipse works flawlessly with ADT?

java,eclipse,adt

Which of these works best with ADT? That would depend on what version of ADT you are using. To know more about which versions of Eclipse supports what all ADT version refer to ADT Plugin Release Notes. I don't think there is any "best" eclipse version to work with...

Make android project in old template in new version of ADT and SDK

java,android,eclipse,adt,appcompat

I found a solution that i share here and just follow these steps: In Adt create android project and in first wizard choose API 14 as min SDK version Press Next until you reach to last wizard and choose Main for all three fields Open Main.java file and delete the...

Android Eclipse ADT build build process enters an unending loop

android,eclipse,adt,eclipse-adt,android-build

This was my solution for this issue I have posted a few month ago, http://stackoverflow.com/a/24631434/2970351 Also try other solution in that page if it didn't work for you....