Tag: eclipse

'Must Override a Superclass Method' Errors after importing a project into Eclipse

Anytime I have to re-import my projects into Eclipse (if I reinstalled Eclipse, or changed the location of the projects), almost all of my overridden methods are not formatted correctly, causing the error The method must override a superclass method. It may be noteworthy to mention this is with Android projects – for whatever reason, […]

Developing for Android in Eclipse: R.java not regenerating

I’ve found out that my R.java is never updated, so it doesn’t contain information about my new resources, so I decided to delete it and thought that Eclipse would generate a new one. But that didn’t happen, and I don’t have R.java now. How can I regenerate one? I’m using Windows 7. From one of the […]

Android Min SDK Version vs. Target SDK Version

When it comes to developing applications for Android, what is the difference between Min and Target SDK version? Eclipse won’t let me create a new project unless Min and Target versions are the same!

Can't start Eclipse – Java was started but returned exit code=13

I am trying to get my first taste of Android development using Eclipse. I ran into this problem when trying to run Eclipse, having installed version 4.2 only minutes ago. After first trying to start Eclipse without any parameters to specify the Java VM, I got an error message saying it couldn’t find a Java […]

frequent issues arising in android view, Error parsing XML: unbound prefix

I have frequent problem in android view, Error parsing XML: unbound prefix on Line 2. <?xml version=”1.0″ encoding=”utf-8″?> <LinearLayout android:orientation=”vertical” android:id=”@+id/myScrollLayout” android:layout_width=”fill_parent” android:layout_height=”wrap_content”> <TextView android:layout_height=”wrap_content” android:layout_width=”fill_parent” android:text=”Family” android:id=”@+id/Family” android:textSize=”16px” android:padding=”5px” android:textStyle=”bold” android:gravity=”center_horizontal”> </TextView> <ScrollView xmlns:android=”http://schemas.android.com/apk/res/android” android:layout_width=”fill_parent” android:layout_height=”wrap_content” android:orientation=”vertical” android:scrollbars=”vertical”> <LinearLayout android:orientation=”vertical” android:id=”@+id/myMainLayout” android:layout_width=”fill_parent” android:layout_height=”wrap_content”> </LinearLayout> </ScrollView> </LinearLayout>

How to build an APK file in Eclipse?

When I develop the project using Eclipse, the APK file goes on the emulator. But I want to upload my application to a real device. Is there a tool to build an APK file? What is the process? Or is it possible to pull the APK file from the emulator?

How can I use external JARs in an Android project?

I have created an Android project and added an external JAR (hessian-4.0.1.jar) to my project. I then added the JAR to the build path and checked it off in Order and Export. Order and Export is ignored it seems, and all classes from the external JAR are missing at runtime. Is there a trick to […]

How to attach javadoc or sources to jars in libs folder?

New version of ADT r17 plugin for Eclipse added feature to automatically setup JAR dependencies. Any .jar files in the /libs folder are added to the build configuration now. Unfortunately Android Dependencies classpath container is non modifiable. How can i attach javadoc and sources to the automatically inserted .jar (from /libs folder)?

“Debug certificate expired” error in Eclipse Android plugins

I am using Eclipse Android plugins to build a project, but I am getting this error in the console window: [2010-02-03 10:31:14 – androidVNC]Error generating final archive: Debug certificate expired on 1/30/10 2:35 PM! How do I fix it?

Why doesn't logcat show anything in my Android?

Why doesn’t logcat show anything in my Android (while developing apps with Eclipse)? It just doesn’t print anything. It’s empty.

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