[solved]adding android SDK tools to your path means?
Hello,
i think this is silly question but i hope i will get solution for this ...
i am trying to install android sdk....then
evertything went well but after installing the package from AUR...at the end I found two lines
"you need to source /etc/profile or relogin to add the android sdk tools to your path
Add yourself to the android group so that the sdk can download and update various additional packages".
i understand little bit but exactly i dont know wat to do.... can anyone tell how to add path in /etc/profile and how to add myself in android group?
thanqz in advance....
Last edited by ashvin (2011-05-11 12:02:32)
Source /etc/profile means type '. /etc/profile' and press Enter.
https://wiki.archlinux.org/index.php/Groups
PATH: https://bbs.archlinux.org/viewtopic.php … 70#p927170 , but instead of home/user/bin you need to add the path to the android sdk.
Similar Messages
-
Using local android-sdk and android-sdk-platform-tools with phonegap
Hello,
I've installed android-sdk, android-sdk-platform-tools and android-sdk-build-tools packages from AUR and phonegap with npm command line utility of nodejs. When I try to build android app using the command:
$ phonegap run android
phonegap fails to detect locally installed android SDK environment and uses remote one:
[phonegap] detecting Android SDK environment...
[phonegap] using the remote environment
I tried adding paths /opt/android-sdk/tools/, /opt/android-sdk/platform-tools/ and /opt/android-sdk/build-tools to $PATH variable but still, no luck. How can I make phonegap use the local android SDK environment?
Last edited by th0th (2013-08-10 21:06:29)hi, you can try run `phonegap local run android`
if you see "ant: command not found" error, please install 'apache-ant'
╭─root@vkill /opt/workspace/my-app ‹ruby-1.9.3›
╰─➤ phonegap local run android 8 ↵
[phonegap] adding the Android platform...
[error] Please install Android target 17 (the Android 4.2 SDK). Make sure you have the latest Android tools installed as well. Run `android` from your command-line to install/update any missing SDKs or tools.
╭─root@vkill /opt/workspace/my-app ‹ruby-1.9.3›
╰─➤ phonegap local run android
[phonegap] adding the Android platform...
[error] An error occured during creation of android sub-project. /root/.cordova/lib/android/cordova/3.0.0/bin/create: line 104: ant: command not found
An unexpected error occurred: ant jar > /dev/null exited with 127
Deleting project...
╭─root@vkill /opt/workspace/my-app ‹ruby-1.9.3›
╰─➤ yaourt -S apache-ant
1 ↵
╭─root@vkill /opt/workspace/my-app ‹ruby-1.9.3›
╰─➤ phonegap local run android 1 ↵
[phonegap] adding the Android platform...
[phonegap] compiling Android...
[phonegap] successfully compiled Android app
[phonegap] trying to install app onto device
[phonegap] no device was found
[phonegap] trying to install app onto emulator
[phonegap] successfully installed onto emulator
Last edited by vkill (2013-09-04 17:48:44) -
[SOLVED] Appcelerator Titanium Studio: Android SDK Not Found
Hello,
This is my first post here, as it is my first week of using arch linux
I have a problem using Appcelerator Titanium Studio. I have installed android sdk but whenever I select it's location through the titanium studio configuration window, it shows the error "Android SDK not found at the specified path":
MOD EDIT -- Please follow image posting rules -- Inxsible
What I tried and did:
1. Installed Android-SDK through yaourt in /opt/android-sdk, updated all packages through ./android, copied adb into "tools" as suggested by appcelerator. Tried selecting this directory in titanium, did not work.
I tried all of the following paths:
/opt/android-sdk
/opt/android-sdk/
/opt/android-sdk/tools
/opt/android-sdk/platform-tools
2. Installed Android-SDK manually by downloading the latest binaries: http://dl.google.com/android/android-sd … ux_x86.tgz into ~/android-sdk
I updated all packages there again though ./android and tried selecting all paths I could think of related to that directory in titanium studio, did not work again.
3. I thought maybe folder permissions are the problem but even a 777 wouldn't work.
4. I checked the titanium log file and here is the error shown: http://pastebin.com/2XRJ1xyx
Here is the script mentioned in the error: http://pastebin.com/jXvaa23M
5. I also tried setting #!/usr/bin/env python2 in the script since the default interpreter is python 3 in my system, did not work.
Additional Info: I have Sun JDK 64bit, JRE, tried both 32 & 64 of Titanium Studio, the 32 one didn't want to run at all.
I can confirm that android SDK works since the emulator is running flawless.
So at this point I can't continue anymore and have no idea where to go next :S
any help / experiences appreciated.
Last edited by Gjore.S (2011-07-24 02:11:18)Gjore.S wrote:
It turned out that installing python25 from aur solved the problem, android sdk is now detected and everything works smooth.
I can finally consider my arch laptop complete
Cool Mate,
Yeah, now your lappy is fully ready for development and you'll be one crazy muthafc*r .... I'm glad you've become an Archer as you really are ....
Out & see ya in the hack lab in 2 hours ... -
[SOLVED] Why is there a PKGBUILD made available for the Android SDK?
Hello all my fellow Arch users.
I'm just curious as to WHY there's a PKGBUILD in the AUR made available for the Android SDK. I mean, it's already made available at the Android Developer's website, and the only things you'd need are Java, Python, and 32-bit application support, and correct me if I'm wrong, but usually you have the option to install those the moment you're selecting packages for Arch Linux while you're installing them.
I don't have anything against the PKGBUILD, it saved me a load of headaches trying to configure the SDK, and limited my pains to merely editing my .bashrc file to include the full path to the Android SDK tools and platform tools folders.
I find it strange. But then again, I find the concept of an i686-optimized GNU/Linux operating system that leaves all the major configuration to me that also kicks major ass strange as well.
Last edited by shaunsingh14 (2012-01-08 19:34:35)Awebb wrote:
My brain refuses to form an adequate answer to your question. Downloading $APPLICATION from the developers website, extracting it, manually solving dependencies, figuring out a good path to put it and symlink it to /usr/bin is exactly what you do not want to do on an Arch Linux system, therefore you create a PKGBUILD, which enables pacman to know about the package. Just because it does not need to be compiled, does not mean it is a bad idea to create a PKGBUILD. If this is not the purpose of the AUR, then I must have gotten it wrong entirely.
Maybe if you took another AUR package (of your choice) and compared it to the Android SDK PKGBUILD, I could comprehend what's different about this one.
ouch, i was just wondering. i did migrate here from ubuntu after all. but i was just curious, because it reminded me of the android sdk installer gentoo had when i was still running it on a virtual machine a few months ago. -
Easy Install Android SDK via Dreamweaver CS5.5 Configure Application Framework
I have been trying to download Android SDK using Configure Application Framework from Site >> Mobile Applications but get the following error message everytime I try:
After clicking on "Easy Install..." button:
According to several tutorials available in Adobe's development network, this should be as easy as clicking on the button. I wonder what could be the issue on my end. Could you help please?
Thank you,I have followed all the instructions for the test application that adobe supplied and i cant get it to run the emulator below is my log file what is wrong and why wont it run.
<DW>
set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
set ANDROID_HOME=C:\Users\android-sdk
set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
set PATH=%JAVA_HOME%\bin;%PATH%
cd C:\Users\ANDROI~1\PLATFO~2
C:\Users\android-sdk\platform-tools\adb.exe devices
</DW>
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
Launching the Android emulator
<DW>
set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
set ANDROID_HOME=C:\Users\android-sdk
set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
set PATH=%JAVA_HOME%\bin;%PATH%
cd C:\Users\ANDROI~1\tools
C:\windows\system32\cmd.exe /u /c "C:\Users\android-sdk\tools\emulator.exe -partition-size 1024 -cpu-delay 0 -no-boot-anim -avd DW_AVD"
</DW>
Cloning seed app for Android
<DW>
set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
set ANDROID_HOME=C:\Users\android-sdk
set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
set PATH=%JAVA_HOME%\bin;%PATH%
cd C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER
C:\windows\system32\cmd.exe /u /c C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\DWPHON~1\android\scripts\droidGap.bat "C:\Program Files\Adobe\Adobe Dreamweaver CS5.5\Configuration\NativeAppFramework\DWPhoneGap\android\PhoneGapApp" "Meridien" com.adobe.meridien 1.0 "C:\Users\android-sdk" 8
</DW>
CaCreated project directory: C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien
Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\src\com\adobe\meridien
Added file C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\src\com\adobe\meridien\Default Activity.java
Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res
Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\bin
Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\libs
Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\values
Added file C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\values\strings.xml
Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\layout
Added file C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\layout\main.xml
Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\drawable-hdpi
Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\drawable-mdpi
Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\drawable-ldpi
Added file C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\AndroidManifest.xml
Added file C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\build.xml
Added file C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\proguard.cfg
CLONE SUCCESSFUL
<DW>
set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
set ANDROID_HOME=C:\Users\android-sdk
set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
set PATH=%JAVA_HOME%\bin;%PATH%
cd C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER
C:\windows\system32\cmd.exe /u /c C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1\bin\ant.bat debug
</DW>
Buildfile: C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\build.xml
[setup] Android SDK Tools Revision 12
[setup] Project Target: Google APIs
[setup] Vendor: Google Inc.
[setup] Platform Version: 2.2
[setup] API level: 8
[setup]
[setup] ------------------
[setup] Resolving library dependencies:
[setup] No library dependencies.
[setup]
[setup] ------------------
[setup]
[setup] WARNING: Attribute minSdkVersion in AndroidManifest.xml (2) is lower than the project target API level (8)
[setup]
[setup] Importing rules file: tools\ant\main_rules.xml
-debug-obfuscation-check:
-set-debug-mode:
-compile-tested-if-test:
-pre-build:
-dirs:
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\gen
[mkdir] Created dir: C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\bin\classes
-aidl:
[echo] Compiling aidl files into Java classes...
-renderscript:
[echo] Compiling RenderScript files into Java classes and RenderScript bytecode...
-resource-src:
[echo] Generating R.java / Manifest.java from the resources...
-pre-compile:
compile:
[javac] C:\Users\android-sdk\tools\ant\main_rules.xml:384: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 2 source files to C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\bin\classes
-post-compile:
-obfuscate:
-dex:
[echo] Converting compiled files and external libraries into C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\bin\classes.dex...
-package-resources:
[echo] Packaging resources
[aapt] Creating full resource package...
[aapt.exe] (skipping index file 'C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\assets\www\img\Thumbs.db')
[aapt.exe] libpng error: Not a PNG file
[aapt.exe] ERROR: Failure processing PNG image C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\res\drawable-hdpi\splash.png
[aapt.exe] libpng error: Not a PNG file
[aapt.exe] ERROR: Failure processing PNG image C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\res\drawable-ldpi\splash.png
[aapt.exe] libpng error: Not a PNG file
[aapt.exe] ERROR: Failure processing PNG image C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\res\drawable-mdpi\splash.png
BUILD FAILED
C:\Users\android-sdk\tools\ant\main_rules.xml:510: null returned: 1
Total time: 12 seconds
OPERATION CANCELED
<DW>
set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
set ANDROID_HOME=C:\Users\android-sdk
set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
set PATH=%JAVA_HOME%\bin;%PATH%
cd C:\Users\ANDROI~1\PLATFO~2
C:\Users\android-sdk\platform-tools\adb.exe kill-server
</DW>
<DW>
set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
set ANDROID_HOME=C:\Users\android-sdk
set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
set PATH=%JAVA_HOME%\bin;%PATH%
cd C:\Users\ANDROI~1\PLATFO~2
C:\Users\android-sdk\platform-tools\adb.exe devices
</DW>
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
Launching the Android emulator
<DW>
set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
set ANDROID_HOME=C:\Users\android-sdk
set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
set PATH=%JAVA_HOME%\bin;%PATH%
cd C:\Users\ANDROI~1\tools
C:\windows\system32\cmd.exe /u /c "C:\Users\android-sdk\tools\emulator.exe -partition-size 1024 -cpu-delay 0 -no-boot-anim -avd DW_AVD"
</DW>
<DW>
set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
set ANDROID_HOME=C:\Users\android-sdk
set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
set PATH=%JAVA_HOME%\bin;%PATH%
cd C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER
C:\windows\system32\cmd.exe /u /c C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1\bin\ant.bat debug
</DW>
Buildfile: C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\build.xml
[setup] Android SDK Tools Revision 12
BUILD FAILED
C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\build.xml:77: Unable to resolve target 'Google Inc.:Google APIs:8'
Total time: 0 seconds
OPERATION CANCELED
<DW>
set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
set ANDROID_HOME=C:\Users\android-sdk
set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
set PATH=%JAVA_HOME%\bin;%PATH%
cd C:\Users\ANDROI~1\PLATFO~2
C:\Users\android-sdk\platform-tools\adb.exe kill-server
</DW> -
PhoneGap Build Settings for Android SDK
On Mac 10.6.8, Dreamweaver CS6
I want to test the PhoneGap Build Service with the default "Hey, it's PhoneGap" index.html page. Specifically, I want to run the resulting apk inside an Android emulator. In preparation for this, I have:
1) Downloaded the Android SDK
2) Run...
android-sdk-macosx/tools/android sdk
... from a Terminal window
This launches the Android SDK Manager, which I have used to download
Android 2.2 (API 8 - Froyo) and all its associated files
Android SDK Tools
Android SDK Platform-tools
Android Support Library
(I have also installed Eclipse, but I think that that is irrelevant for the current task)
4) Run...
android-sdk-macosx/tools/android avd
... from a Terminal window
This opens the Android Virtual Device Manager, which I have used to create a Virtual Device:
Name Froyo
Target Android 2.2 (API level 8)
Skin WVGA800
Located at /Users/<username>/.android/avd/Froyo.avd
This Dreamweaver Help page says:
Once you've installed the Android SDK, you'll need to start the Android SDK and AVD Managers, and select the Android tools you want to work with locally on your computer. Dreamweaver uses the information you select during this initial setup to populate the Android emulator settings in the PhoneGap Build Service panel. For more information on specifying these settings, see the Android documentation.
(My emphasis)
I'm guessing that I've done the parts of these instructions in italics, but I get lost when I reach the part in bold. The window that opens when I select Site > PhoneGap Build Service > PhoneGap Build Settings asks me to "provide the root paths to the [Android] sdk". None of the paths that I have provide seem to satisfy the Emulate Application button in the Build Panel.
Question: What folder should I select as the root path to the SDK?
Thanks in advance,
JamesLexogram wrote:
All that's missing is to understand how to convince Dreamweaver CS6 to perform the same steps, rather than going through a Terminal application.
I haven't installed the Android SDK on my Mac. Dealing with Xcode was painful enough for me.
However, I do have the Android SDK installed on Windows. I installed it at the top level of my C drive in C:\dw-android. All that was necessary to register it in the PhoneGap Build Settings panel was to enter C:\dw-android in the SDK location field. As long as you have the correct path to the SDK, it should be the same on a Mac.
I used the PhoneGap Build Service panel to build the app, and then clicked the Download icon. Once it had downloaded, I selected the AVD and target version of Android, as shown in the following screen shot:
After clicking Launch, it started the emulator and displayed the app. I found it necessary to make sure the AVD and target both used the same version of Android. Otherwise, it just launched the emulator, but the app didn't load. -
Emulator error (type 3) CS5.5 android sdk
Hello All. Have done my best in trying to find the answer to this one but just can't get it to work. System is win 7 home premium SP1 64-bit. I do have the latest DW updates installed.
Using DW CS5.5, installed Android SDK and can launch emulator just fine but when using Build & Emulate function, the .apk file does not load in the browser. Dreamweaver prompts that the build was successful but after reviewing the "buildlog.log" file I notice at the bottom:
Running app in Android emulator
<DW>
set ANT_HOME=C:\PROGRA~2\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
set ANDROID_HOME=C:\PROGRA~2\Android\ANDROI~1
set JAVA_HOME=C:\PROGRA~2\Adobe\ADOBED~2.5\JDK
set PATH=%JAVA_HOME%\bin;%PATH%
cd C:\PROGRA~2\Android\ANDROI~1\PLATFO~2
C:\Windows\SysWOW64\cmd.exe /u /c C:\PROGRA~2\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\DWPHON~1\android\scripts\ANDROI~2.BAT com.vemergency.meriden_test C:\PROGRA~2\Android\ANDROI~1
</DW>
Starting: Intent { act=android.intent.action.MAIN cmp=com.testcompany.meriden_test/.DefaultActivity }
Error type 3
Error: Activity class {com.testcompany.meriden_test/com.testcompany.meriden_test.DefaultActivity} does not exist.
<DW>
set ANT_HOME=C:\PROGRA~2\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
set ANDROID_HOME=C:\PROGRA~2\Android\ANDROI~1
set JAVA_HOME=C:\PROGRA~2\Adobe\ADOBED~2.5\JDK
set PATH=%JAVA_HOME%\bin;%PATH%
cd C:\PROGRA~2\Android\ANDROI~1\PLATFO~2
C:\PROGRA~2\Android\ANDROI~1\PLATFO~2\adb.exe kill-server
</DW>
Any help would be most appreciated!!
thanks,
KeithTried that and thought I had it but notice the last couple lines where it failed. Any idea on why this happened?
C:\VESLAP~1\HTML5\DREAMW~1\output\COMVEM~1.TES>C:\Windows\SysWOW64\cmd.exe /u /c
C:\PROGRA~2\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1\bin\ant.bat debug insta
ll
Buildfile: C:\VESLAP~1\HTML5\DREAMW~1\output\COMVEM~1.TES\build.xml
-set-mode-check:
-set-debug-files:
-set-debug-mode:
-debug-obfuscation-check:
-setup:
[echo] Gathering info for test27oct...
[setup] Android SDK Tools Revision 14
[setup] Project Target: Google APIs
[setup] Vendor: Google Inc.
[setup] Platform Version: 4.0
[setup] API level: 14
[setup]
[setup] ------------------
[setup] Resolving library dependencies:
[setup] No library dependencies.
[setup]
[setup] ------------------
[setup]
[setup] WARNING: Attribute minSdkVersion in AndroidManifest.xml (2) is lower
than the project target API level (14)
-build-setup:
[echo] Creating output directories if needed...
-pre-build:
-code-gen:
[echo] ----------
[echo] Handling aidl files...
[aidl] No aidl files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[renderscript] No renderscript files to compile.
[echo] ----------
[echo] Handling Resources...
[aapt] Found Deleted Target File
[aapt] Generating resource IDs...
-pre-compile:
-compile:
[javac] C:\Android\android-sdk\tools\ant\build.xml:600: warning: 'includeant
runtime' was not set, defaulting to build.sysclasspath=last; set to false for re
peatable builds
[javac] Compiling 1 source file to C:\VESLAP~1\HTML5\DREAMW~1\output\COMVEM~
1.TES\bin\classes
-post-compile:
-obfuscate:
-dex:
[dex] Found Deleted Target File
[dex] Converting compiled files and external libraries into C:\VESLAP~1\HT
ML5\DREAMW~1\output\COMVEM~1.TES\bin\classes.dex...
-crunch:
[crunch] Crunching PNG Files in source dir: C:\VESLAP~1\HTML5\DREAMW~1\output
\COMVEM~1.TES\res
[crunch] To destination dir: C:\VESLAP~1\HTML5\DREAMW~1\output\COMVEM~1.TES\b
in\res
[crunch] Crunched 0 PNG files to update cache
-package-resources:
[aapt] Found Deleted Target File
[aapt] Creating full resource package...
[aapt] Warning: AndroidManifest.xml already defines debuggable (in http://s
chemas.android.com/apk/res/android); using existing value in manifest.
-package:
[apkbuilder] Found Deleted Target File
[apkbuilder] Creating test27oct-debug-unaligned.apk and signing it with a debug
key...
-do-debug:
[zipalign] Running zip align on final apk...
[echo] Debug Package: C:\VESLAP~1\HTML5\DREAMW~1\output\COMVEM~1.TES\bin\te
st27oct-debug.apk
debug:
[propertyfile] Updating property file: C:\VESLAP~1\HTML5\DREAMW~1\output\COMVEM~
1.TES\bin\build.prop
[propertyfile] Updating property file: C:\VESLAP~1\HTML5\DREAMW~1\output\COMVEM~
1.TES\bin\build.prop
[propertyfile] Updating property file: C:\VESLAP~1\HTML5\DREAMW~1\output\COMVEM~
1.TES\bin\build.prop
[propertyfile] Updating property file: C:\VESLAP~1\HTML5\DREAMW~1\output\COMVEM~
1.TES\bin\build.prop
install:
[echo] Installing C:\VESLAP~1\HTML5\DREAMW~1\output\COMVEM~1.TES\bin\test27
oct-debug.apk onto default emulator or device...
[exec] error: protocol fault (no status)
BUILD FAILED
C:\Android\android-sdk\tools\ant\build.xml:1098: The following error occurred wh
ile executing this line:
C:\Android\android-sdk\tools\ant\build.xml:1112: exec returned: 1
Total time: 7 seconds
C:\VESLAP~1\HTML5\DREAMW~1\output\COMVEM~1.TES> -
I am interested in doing some game development using Basic4Android. To do so, I need to install Java and the Android SDK.
I have installed Java 7. The following software is installed on my laptop:
Java 7 Update 7 (64-bit) Version 7.0.70
Java SE Development Kit 7 Update 7 (64-bit) Version 1.7.0.70
I then access and download the Android SDK Installer, which I am told is currently this file:
installer_r20.0.3-windows.exe
Upon running this installer, the Android SDK Tools Setup starts, which then tries to detect whether the Java SE Development Kit is installed.
I then get the following error:
Java SE Development Kit (JDK) not found.
Error: Failed to find Java version for 'C:\Windows\system32\java.exe': [2] The system cannot find the file specified.
It also says I should go to java.oracle.com to download and install the JDK.
There is a "java.exe" file in the C:\Windows\system32 folder with the date when I installed Java 7.
The file that I did download and run to install Java was
jdk-7u7-windows-x64.exe,
leading me to have the installed Java software mentioned above.
Can you tell me what I may be doing wrong? I am running Windows 7 Home Premium SP1 (64-bit) on an ASUS Laptop with an i5 dual core processor.
Thank you for any help you provide.
Addendum: I solved this problem. The instructions for Basic4Android say to install the 32-bit JDK, not the 64-bit JDK.
Bob
Edited by: AndroidDev on Oct 13, 2012 5:17 AM
Edited by: AndroidDev on Oct 13, 2012 6:12 AMI solved my problem. The instructions for Basic4Android say to install the 32-bit version of Java, not the 64-bit version.
-
[SOLVED] Android SDK throws error message after jdk7-openjdk update
I updated my openjdk package to version 7.u13_2.3.6-1 on the 12th, and now the android-sdk from the AUR throws this error when I run either "android" or "andoid sdk":
java.lang.NullPointerException
at java.io.File.<init>(File.java:251)
at com.android.sdklib.internal.avd.AvdManager.parseAvdInfo(AvdManager.java:1390)
at com.android.sdklib.internal.avd.AvdManager.buildAvdList(AvdManager.java:1366)
at com.android.sdklib.internal.avd.AvdManager.<init>(AvdManager.java:315)
at com.android.sdklib.internal.avd.AvdManager.getInstance(AvdManager.java:325)
at com.android.sdkuilib.internal.repository.UpdaterData.initSdk(UpdaterData.java:266)
at com.android.sdkuilib.internal.repository.UpdaterData.<init>(UpdaterData.java:123)
at com.android.sdkuilib.internal.repository.ui.SdkUpdaterWindowImpl2.<init>(SdkUpdaterWindowImpl2.java:104)
at com.android.sdkuilib.repository.SdkUpdaterWindow.<init>(SdkUpdaterWindow.java:87)
at com.android.sdkmanager.Main.showSdkManagerWindow(Main.java:339)
at com.android.sdkmanager.Main.doAction(Main.java:322)
at com.android.sdkmanager.Main.run(Main.java:119)
at com.android.sdkmanager.Main.main(Main.java:102
Any help would be appreciated, as I would like to get back to writing apps.
EDIT: Solved by deleting the .android folder in the home directory. Thanks Stackoverflow.
Last edited by Alittlemurkling (2013-02-18 17:34:55)See https://mailman.archlinux.org/pipermail … 24434.html
-
[solved] Trouble installing android SDK and eclipse plugin
Hi !
Owner of an HTC hero, I would like to develop some apps for it. However, I have problems to install the android eclipse plugin on my archs (a 32 and a 64 bits) while it is working fine on my roommate's ubuntu...
I'm following these instructions : http://developer.android.com/sdk/eclipse-adt.html
At step 3, when I click OK in order to add the site, just nothing happens, the pop up stays displayed and I can still clic on the bottons, (but only "cancel" do something...) . I've tried to start eclipse from the console, but no output here
Why do you think this happens ?
I have also problem with the sdk tools :
when I try to view the available packages il get :
Failed to fetch URL https://dl-ssl.google.com/android/repos … sitory.xml, reason: HTTPS SSL error. You might want to force download through HTTP in the settings.
(even if I ask to use HTTP insted of HTTPS)
Have you already got this problem?
Thanks,
Fredszaq (from France, escuse english mistakes...)
Last edited by fredszaq (2009-12-02 21:20:13)found the solution ! it seems to be a GTK problem in fact...
http://groups.google.com/group/android- … 63a8d07cd9
https://bugzilla.gnome.org/show_bug.cgi?id=598734
https://bugs.eclipse.org/bugs/show_bug.cgi?id=290395
the major tip was to resize the windows when notings seems to happen ant to "clik" on the buttons with the enter key ... -
Add-On Development using SDK Tools
Hi,
I am new in this type of development! i.e. using SDK Tools to enhance my SAP B1 functionality.
I have developed many solution using Oracle Forms Developer
Forms are highly integrated with Database and we have to just put our business logic in triggers!
Now what I have found using B1DE
Forms can be made easily using VS.Net Platform.
We can Insert data, Updated Date, Find Data ( Very Easy using B1DE )
The Problem is using SDK Tools B1DE
How can I create relationship with Tables like
I am designing a form with includes input of Items
1*** I need integrity constraints in my form e.g. with Itemcode from OITM Table
2*** Also I want to select these Items from List (using Tab functionality) not from Formatted search
3*** Also I want to add some additional fields i.e. not Database Fields
I haven't found any help from the SDN for these issues
Or
I have to do all things manually from the code of VS.Net
I have viewed third party add-ons i.e. Payroll which have all these functionalities
Like SAP B1 basic forms.
which tools they are using i.e. ( Manual coding using UI API, May be ABAP or something else or Axel Windows Components )
Or should I develop my forms in VS.Net using Axel Windows Components
I am so confused which path should I select!
Looking for your response!
Best Regards,
Umer NasimUmer Nasim,
My suggestion is that you take the SAP Business One SDK eLearning training that is located here on SDN at ...
https://www.sdn.sap.com/irj/scn/elearn?rid=/webcontent/uuid/0039e82a-fcd7-2a10-c380-b17f1e02b543 [original link is broken]
... specifically the DI and UI API's.
Eddy -
Hi every one In my company we have a printer Intermec 6820 (http://www.intermec.com/products/prtr6820/index.aspx) I wonder if is possible to use the android SDK (https://www.intermec.com/products/sdkandroid/index.aspx) for from my mobile device send to print jobs. When i tested the SDK samples (LabelPrinterSample ), print only one line (see picture attached) and printed the command lines.
H4z3, I'm not sure why you are getting seg faults but, I just got everything setup for Android 2.0 development on my 64-bit driven laptop. I did the following:
1) Downloaded Android v2.0 SDK & setup buy running
sh %path_to_sdk%/android-sdk-linux/tools/android
Then under "Available Packages", download the SDK Platform and other APIs you want. I downloaded Android 2.0 & 1.6, Google API 5 & 4 and the documentation.
2) Downloaded Eclipse 3.5 for EE Development from eclipse.org
3) Installed lib32 libraries:
sudo pacman -S lib32-libstdc++5 lib32-libx11 lib32-sdl lib32-ncurses lib32-zlib lib32-libext lib32-alsa-lib
4) Added the ADT to Eclipse following these instructions http://developer.android.com/sdk/eclipse-adt.html
5) I then followed the Hello World example.
Issues noticed
1) Clicking some of the Eclipse & Android SDK/SVD Manager buttons didn't register. I had to use the keyboard shortcuts to fully press the buttons
2) The emulator does take a while to load. I had issues with it not loading and sucking up my CPU. But I realized that I wasn't allowing the initial run of the emulator to fully finish before I closed it. Give it a good few minutes to run before stopping it.
I hope this helps,
Ken
Last edited by scriptmunkee (2009-10-28 07:16:37) -
Arch64 and Android SDK Emulator issues
Hey guys. I have recently installed the newest version of Eclipse and the Android SDK. I have had to install 32-bit libs so everything runs ok, which I have successfully done. After thinking all was fine and dandy I proceeded to execute my application, in reply my console (from within Eclipse) spat out the following message:
[2009-09-20 00:29:47 - HelloAndroid]------------------------------
[2009-09-20 00:29:47 - HelloAndroid]Android Launch!
[2009-09-20 00:29:47 - HelloAndroid]adb is running normally.
[2009-09-20 00:29:47 - HelloAndroid]Performing com.example.helloandroid.HelloAndroid activity launch
[2009-09-20 00:29:47 - HelloAndroid]Automatic Target Mode: launching new emulator with compatible AVD 'my_avd'
[2009-09-20 00:29:47 - HelloAndroid]Launching a new emulator with Virtual Device 'my_avd'
So, as far as I was concerned I was to wait a few minutes (maybe a little longer) for the emulator to work it's magic. 20 minutes later I found myself scratching my head, wondering why the emulator hadn't booted yet. Any ideas?
If I try and run the emulator via command line independently I get the follow message:
[haze@shirley tools]$ emulator -avd my_avd
Segmentation fault
Any ideas?
Last edited by H4z3 (2009-09-19 23:43:36)H4z3, I'm not sure why you are getting seg faults but, I just got everything setup for Android 2.0 development on my 64-bit driven laptop. I did the following:
1) Downloaded Android v2.0 SDK & setup buy running
sh %path_to_sdk%/android-sdk-linux/tools/android
Then under "Available Packages", download the SDK Platform and other APIs you want. I downloaded Android 2.0 & 1.6, Google API 5 & 4 and the documentation.
2) Downloaded Eclipse 3.5 for EE Development from eclipse.org
3) Installed lib32 libraries:
sudo pacman -S lib32-libstdc++5 lib32-libx11 lib32-sdl lib32-ncurses lib32-zlib lib32-libext lib32-alsa-lib
4) Added the ADT to Eclipse following these instructions http://developer.android.com/sdk/eclipse-adt.html
5) I then followed the Hello World example.
Issues noticed
1) Clicking some of the Eclipse & Android SDK/SVD Manager buttons didn't register. I had to use the keyboard shortcuts to fully press the buttons
2) The emulator does take a while to load. I had issues with it not loading and sucking up my CPU. But I realized that I wasn't allowing the initial run of the emulator to fully finish before I closed it. Give it a good few minutes to run before stopping it.
I hope this helps,
Ken
Last edited by scriptmunkee (2009-10-28 07:16:37) -
How to run Android SDK Windows on Wine
Hello all,
I couldn't run "SDK Manager.exe" to update for Unity3d Game Engine, though I has installed jdk-6 (Windows) on Wine. Can someone help or give some idea ?
For that problem, after I had decided run SDK Manager.exe on a Windows 7 machine , I copied and ran it on my Arch Linux machine. And the end Unity3d can update the Android-SDK-Windows.
NOTE: If you have freetime, please you can download android-sdk-windows and test.
Error results on the window:
Can't recognize 'C:\windows\system32\find /i "x86" ' as an internal or external command, or batch script.
err:process:create_process L"Z:\\home\\luckybc\\downloads\\packages\\built-objects\\windows-win32\\android-sdk-windows\\tools\\lib\\\\find_java64.exe" not supported on this installation (x86_64 binary)
Can't recognize '"Z:\home\luckybc\downloads\packages\built-objects\windows-win32\android-sdk-windows\tools\lib\\find_java64.exe" -s' as an internal or external command, or batch script.
ERROR: No suitable Java found. In order to properly use the Android Developer
Tools, you need a suitable version of Java JDK installed on your system.
We recommend that you install the JDK version of JavaSE, available here:
http://www.oracle.com/technetwork/java/javase/downloads
If you already have Java installed, you can define the JAVA_HOME environment
variable in Control Panel / System / Avanced System Settings to point to the
JDK folder.
You can find the complete Android SDK requirements here:
http://developer.android.com/sdk/requirements.htmlI had read the error output before you said, satanselbow. And I can use Unity3d Game Engine to update Android-Sdk-Windows with the Windows Java (Unity3d need java runtime when building the Android project). But when I run alone Android-SDK-Windows It couldn't run.
Last edited by luckybc (2015-03-31 16:18:51) -
When I run VI analyzer and open our standard config file, the message "Some VIs and/or tests have been added to or removed from your file system since you last saved this configuration file." appears. Upon clicking OK, selecting something to analyze, and moving on to the VI Analyzer - Select Tests dialog, the Tests selection control is completely empty and the Analyze button is greyed out.
I'm runing LabVIEW 2013 on Windows 7, VI analyzer did work before, and I have tried both repairing and uninstalling LabVIEW (then reinstalling) already. If I do not select a config file or try to reset all test configurations, the Tests control remains empty.
Is there any way to reinstate the tests, or fix just the VI Analyzer toolkit?
The only thing that I remember changing since I last ran the analyzer is that I installed DIAdem.
Solved!
Go to Solution.The suggested search (from LV2013) brought me to the 2014 toolkit,
That is unfortunate.
Perhaps the Tools network needs a tweak
But, I had assumed you had your SSP up to date and LabVIEW 2014 installed. The download would have worked then
Jeff
Maybe you are looking for
-
help
-
Help with image clipping with FCP 7 video filters
Hi there, I'm working with an image with text (one jpeg, the other psd), and when I apply a video filter (glow, bloom, or the like) that extends the outside of the image, it clips the edges. I've tried expanding the area around the image in
-
How do I keep my text formating when pasting from other InDesign files?
I'm trying to post charts from one InDesign file to another. The chart I'm trying to paste has hand-made fractions in them. The font is superscript and baseline shifted. When I paste it into a new document, the text loses all that formatting. It see
-
Mail sender Adapter error: unable to create a socket
Hi, I got the following error in CC - mail adapter: exception caught during processing mail message; java.io.IOException: unable to create a socket both for pops and imaps protocols I could not find answers to how to fix it.Any help will be appreciat
-
MacBook running OS X 10.6.8 and the video screen fades to white
Hello All: I have a MacBook 6,1 with a 2.26 Ghz Intel Core 2 Duo running OS X 10.6.8 and from time to time the video just fades to a white screen. If I unplug the power supply or change the angle of the screen the video returns to normal. Can anyone