[Q] ADT Eclipse windows 8 - General Questions and Answers

Hey,
I'm trying to create an adt in eclipse on windows 8 and im getting this message when i start the adt. Failed to create Context 0x3005
emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
could not get wglGetExtensionsStringARB.
Any help will be appreciated.

Related

[Q] Eclipse ADK Beginner's Issue

I am running Linux (Ubuntu 10.10) on a 64-bit platform, and I have installed Eclipse Helios with ADK 2.3.3 & 3.0. I'm new to Android development, and am trying to run a sample app [~/android-sdk-linux_x86/docs/resources/samples/Wiktionary/...]. However, I am getting the following error messages when I Run it:
Code:
[2011-04-14 14:24:23 - Snake] Still no compatible AVDs with target 'Android 3.0': Aborting launch.
[2011-04-14 14:24:23 - Snake] Performing com.example.android.snake.Snake activity launch
[2011-04-14 14:24:46 - Snake] Launch canceled!
Where can I find an Android Virtual Machine for my Android 2.3.3 (on my 64-bit Linux)?
Hi!
You should rename your thread to "SDK",since "ADK" means a completely different on Android.
First off, can you please all steps you took to install eclipse and the sdk ?
Make sure you follow step-by-step this guide: developer.android.com/sdk/installing.html
Robson

[Q] Not able to install the SDK packages, coz SDK blinks for a sec and then closes.

So, I am sorry, if this is a stupid question, I am novice here. I am trying to run SDK manager on windows 7, 32-bit os. It's already installed. Whenever I try running SDK manager, It flashes for a sec and disappears. When I tried executing android.bat from tools, what I got was :
C:\Program Files\Android\tools>android
[INFO] Starting Android SDK and AVD Manager
'xcopy' is not recognized as an internal or external comman
operable program or batch file.
No command line parameters provided, launching UI.
See 'android --help' for operations from the command line.
Exception in thread "main" java.lang.NoClassDefFoundError:
ts/Display
at com.android.sdkmanager.Main.showMainWindow(Main.
at com.android.sdkmanager.Main.doAction(Main.java:2
at com.android.sdkmanager.Main.run(Main.java:99)
at com.android.sdkmanager.Main.main(Main.java:88)
I have java 6 up date 25 already installed and the path is already added to environ var. Also I am interested in developing for android, If anybody is interested in showing me how, I wud be very greatfull. Thanks in advance. Plzzzzzzz........ HELP.
Currently Using : HTC Desire Z.
And yes, I am having eclipse 3.2 already installed on my system. PLzz help................................., somebody......................, anybody.
General tip
If you double click some techie program on Windows and see it just appear and disappear like that, it usually means that this program is meant to be run in a command line window.
So go to All Programs -> Accessories -> Command Prompt and open that
Then go to wherever that program is installed and run it from there.
Oh, and note that Android development needs the JDK, not the JRE version of Java, The JDK contains all the extra parts needed for Java software development in general, including key parts needed by the Android SDK.
While the JRE can be downloaded from www java com , the JDK is only available from java.sun.com .
P.S.
Sorry for not making proper links, but I have not made enough posts to allow them yet.

can't load/run android sdk

Win7-64
Cannot seem to load the android sdk. I have downloaded the Java SDK SE 7u5 and the JRE 7u5 and installs seem ok. But when I try to execute the android sdk (installer_r20.0.1-windows.exe) I get the error "Java SE Development Kit (JDK) not found. Error: Failed to find Java version for 'c:\windows\system32\java.exe'"
I then added a path in the environment variables as JAVA_HOME to point to this c:\windows\system32\java.exe' but still refuses to load.
Have tried reset, reboot and no go. I have also searched the FAQ but did not locate an answer.
My intent is to work with the Android system for the Google Nexus 7 tablet.
Can anyone please point me to a resolution? Thanks!
caprock said:
Win7-64
Cannot seem to load the android sdk. I have downloaded the Java SDK SE 7u5 and the JRE 7u5 and installs seem ok. But when I try to execute the android sdk (installer_r20.0.1-windows.exe) I get the error "Java SE Development Kit (JDK) not found. Error: Failed to find Java version for 'c:\windows\system32\java.exe'"
I then added a path in the environment variables as JAVA_HOME to point to this c:\windows\system32\java.exe' but still refuses to load.
Have tried reset, reboot and no go. I have also searched the FAQ but did not locate an answer.
My intent is to work with the Android system for the Google Nexus 7 tablet.
Can anyone please point me to a resolution? Thanks!
Click to expand...
Click to collapse
First, make sure that the file java.exe is in this folder "C:\WINDOWS\system32\".
If this file is there, try to run "C:\WINDOWS\system32\java.exe -version" and make sure that you see the message java version "1.7.0_05"
If not - just reinstall java
PlanetInPocket said:
First, make sure that the file java.exe is in this folder "C:\WINDOWS\system32\".
If this file is there, try to run "C:\WINDOWS\system32\java.exe -version" and make sure that you see the message java version "1.7.0_05"
If not - just reinstall java
Click to expand...
Click to collapse
Thanks - This works:
java version "1.7.0_5"
Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
Java HotSpot(TM) 64-bit Server VM (build 23.1-b03, mixed mode)
if the problem hasn't been solved yet just try to install 32-bit version java (before remove 64-bit version)
caprock said:
Win7-64
Cannot seem to load the android sdk. I have downloaded the Java SDK SE 7u5 and the JRE 7u5 and installs seem ok. But when I try to execute the android sdk (installer_r20.0.1-windows.exe) I get the error "Java SE Development Kit (JDK) not found. Error: Failed to find Java version for 'c:\windows\system32\java.exe'"
I then added a path in the environment variables as JAVA_HOME to point to this c:\windows\system32\java.exe' but still refuses to load.
Have tried reset, reboot and no go. I have also searched the FAQ but did not locate an answer.
My intent is to work with the Android system for the Google Nexus 7 tablet.
Can anyone please point me to a resolution? Thanks!
Click to expand...
Click to collapse
Your JAVA_HOME should never point to /system32, otherwise you messed up the Java installation. Download the Java JDK from Oracle, and install it to its own folder.

CASUAL Fastboot support [alpha]

Hi guys, This simple reboot test will help out quality control for future hacks.
Introduction
I've been working on CASUAL for about a year now. It stands for Cross-Platform ADB Scripting Universal Android Loader. Its purpose is to be a Windows/Linux/Mac scripting language for ADB.... until now.
Today I added fastboot support into the repository located here: http://android-casual.googlecode.com
Purpose
I would like help verifying this works on your operating system and work out any kinks which may occur. This should one-click reboot your device from adb into fastboot, then back into adb.
Instructions
ensure you have java up-to-date http://www.java.com/en/download/installed.jsp
Download CASUAL Revision 161 Build 2,744 from here: http://d-h.st/RH9
Double click the downloaded-file or right-click-run the CASUAL file
Connect your device and observe that your device is "connected" in CASUAL.
Click the Do It button
Report back with your Operating system and that your device rebooted into fastboot, then back into Android.
note to Linux users: You need to set up your UDEV rules for permissions.
note to Windows users: Ensure you have Nexus 7 Drivers installed.
Conclusion
Anyone with a device capable of fastboot may test. I would appreciate any help.
known issues upon release:
Windows - CASUAL must be started twice.- issue corrected with multi-threaded adb task and 200 ms delay.
none
Discovered issues:
Mac using improper binary Thanks Shaka Huang on G+
No way to start if in fastboot mode- added double-click to enable Do It button
CASUAL fails on Linux if UDEV not set- automatic permissions elevation on $FASTBOOT command for Linux
No active issues
Devices tested:
Galaxy Nexus
Nexus 4
Nexus 7
Karbonn A9
Fastboot capable devices with issues:
Kindle Fire. Fire fire fire bootloader does not support fastboot reboot. Developer contacted, potential fix in FFF2.0
Known working Operating systems:
Windows 7
Windows 8
Linux 64
Mac OS X 10.8.2
Still need Windows Vista, Linux32 and Mac OS-X Leopard/Snow Leopard.
Casual test, Kubuntu Linux 12.04, 64-bit, Sun java JDK, version 6
I got the following error:
$ java CASUAL-Revision152a.jar
Exception in thread "main" java.lang.NoClassDefFoundError: CASUAL-Revision152a/jar
Caused by: java.lang.ClassNotFoundException: CASUAL-Revision152a.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: CASUAL-Revision152a.jar. Program will exit.
redstar427 said:
I got the following error:
$ java CASUAL-Revision152a.jar
Exception in thread "main" java.lang.NoClassDefFoundError: CASUAL-Revision152a/jar
Caused by: java.lang.ClassNotFoundException: CASUAL-Revision152a.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: CASUAL-Revision152a.jar. Program will exit.
Click to expand...
Click to collapse
He said to update to latest Java version which means you must have Java 7
Sent from my Nexus 7 using Tapatalk 2
Android development requires JDK version 6
Android development requires JDK version 6, so if version 7 is required for this, then I will drop out of the testing.
redstar427 said:
Android development requires JDK version 6, so if version 7 is required for this, then I will drop out of the testing.
Click to expand...
Click to collapse
The java running on your computer is different from the java development kit. JRE is backwards compatible. The JDK must be version 6 for Android.
I just fixed the Windows 2x start bug which has been plaguing this project from the start. I also fixed the Mac-uses-linux-fastboot bug which was reported on G+. https://plus.google.com/u/0/104711040110222472212/posts/R7A8CjQcjde
works fine even with Java version 6, I just forgot a parameter
Earlier I forgot the "-jar" parameter.
Once added it worked just fine on my Samsung Galaxy Nexus.
http://paste.ubuntu.com/1519115/
works fine with
- Windows 7 x64
- Nexus 4 & Nexus 7
:good:
Works fine Windows 8 x64 & Nexus 7 CM 10.1
Tested both my
-Galaxy Nexus(Maguro) and
-Nexus 7 (Grouper)
on
Mac OS X 10.8.2
Works on both
I'm VERY happy with the progress so far!
Confirmed working devices: Galaxy Nexus, Nexus 4, Nexus 7
Confirmed Working OS's: Windows 7, Windows 8, Linux 64, Mac OS X 10.8.2
I still need testing on Windows Vista, Linux32 and Mac OS-X Leopard/Snow Leopard.
Issues Corrected:
Windows - CASUAL must be started twice.- issue corrected with multi-threaded adb task and 200 ms delay.
none
Mac using improper binary Thanks Shaka Huang on G+
No way to start if in fastboot mode- added double-click to enable Do It button
CASUAL fails on Linux if UDEV not set- automatic permissions elevation on $FASTBOOT command for Linux
I've uploaded a new version.. CASUAL Revision 161 Build 2,744 includes all the above features And, if you double click the "Do It!" button, it will enable the button.
Confirmed it worked on my Nexus 7 on Snow Leopard (10.6.8). CASUAL still shows a message "<waiting for device>rebooting"
AdamOutler said:
The java running on your computer is different from the java development kit. JRE is backwards compatible. The JDK must be version 6 for Android.
Click to expand...
Click to collapse
So im fairly new to linux. How do I go about, if even possible, to update JRE to 7 while keeping my JDK at version 6...
Adam,
I tested both my Nexus 7 (stock, rooted, 4.2.1) and Nexus 4 (CM10.1), both successfully.
I'm running Ubuntu 12.04 64bit
Then, just for kicks, I tested in on a Kindle Fire running AOSP 4.2.1 by Hashcode. The Kindle Fire rebooted but did not go to the fastboot menu. The bootloader that it is running is FireFireFire and running TWRP for recovery.
Happy to test more if needed.
Thanks,
Marty
we need more tests not just the nexus line-up
Worked great for me
Win7 x64
Fully working on my CM 10.1 HTC Desire Z, Windows 8
Nexus One, ROM CM7.2 OS - Mac OS 10.7.5
dank101 said:
we need more tests not just the nexus line-up
Click to expand...
Click to collapse
This did get posted in the Nexus 7 Android Development forums...
.torrented said:
This did get posted in the Nexus 7 Android Development forums...
Click to expand...
Click to collapse
I'm bringing people in via +CASUAL on Google Plus. They're coming in slowly. I could potentially ask a news writer to cover this later.. But I'm happy with the progress so far.

Android studio 8 installation problems

I just downloaded the new android studio 8 and also previously installed Jdk 8 but when I open my android studio it shows me Jdk not found error and then I made a environment variable with the specified path and I restart my system. But it still shows me the same error.....

Categories

Resources