2012-06-30 3 views
1

자바 6 (티타늄 요구 사항)과 함께 우분투 12.04 (x64)를 사용하고 있습니다. 제목에 에뮬레이터에서 테스트하기 위해 안드로이드 응용 프로그램을 빌드 할 수 없다고되어 있습니다. 난 당신이 오류를에뮬레이터에서 테스트 할 티타늄 안드로이드 응용 프로그램을 만들 수 없습니다

[ERROR] Application Installer abnormal process termination. Process exit value was 1 
[ERROR] Exception occured while building Android project: 
[ERROR] Traceback (most recent call last): 
[ERROR] File "/home/irmantas/.titanium/mobilesdk/linux/2.1.0.GA/android/builder.py", line 2206, in <module> 
[ERROR]  s.build_and_run(False, avd_id, debugger_host=debugger_host) 
[ERROR] File "/home/irmantas/.titanium/mobilesdk/linux/2.1.0.GA/android/builder.py", line 2037, in build_and_run 
[ERROR]  launched, launch_failed = self.package_and_deploy() 
[ERROR] File "/home/irmantas/.titanium/mobilesdk/linux/2.1.0.GA/android/builder.py", line 1569, in package_and_deploy 
[ERROR]  self.keystore_alias]) 
[ERROR] File "/home/irmantas/.titanium/mobilesdk/linux/2.1.0.GA/android/run.py", line 36, in run 
[ERROR]  process = subprocess.Popen(args, stderr=subprocess.PIPE, stdout=subprocess.PIPE) 
[ERROR] File "/usr/lib/python2.7/subprocess.py", line 679, in __init__ 
[ERROR]  errread, errwrite) 
[ERROR] File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child 
[ERROR]  raise child_exception 
[ERROR] OSError: [Errno 2] No such file or directory 

답변

2

나를 위해, 그것은 자바 문제로 밝혀졌다. "No such file or directory"는 jarsigner로 판명되었습니다. 이 정보 https://askubuntu.com/questions/55848/how-do-i-install-oracle-java-jdk-7에서 빌리는 문제를 해결하기 위해 내가 입력 한이 문제를 해결

sudo update-alternatives --quiet --install /usr/bin/jarsigner jarsigner /usr/lib/jvm/jdk1.6.0_32/bin/jarsigner 100 --slave /usr/share/man/man1/jarsigner.1 jarsigner.1 /usr/lib/jvm/jdk1.6.0_32/man/man1/jarsigner.1 

다음 즉시

+0

예 그냥 1.7 버전을 변경 자바 문제가 있었다 모든 것이 작동합니다. 감사합니다. 늦게 동의하여 죄송합니다. / – Irmantas

0

세 가지 가능한 솔루션을 점점 계속 :

http://developer.appcelerator.com/question/86751/android-emulater-wont-launch-adbexe-doesnt-start http://developer.appcelerator.com/question/121286/error-running-projects-in-android-emulator ... appcelerator.com/question/120519/emulator-is-crashing-unexpectedly

  1. 을 도구 및 플랫폼 도구 폴더에서 adb에 액세스 할 수 있는지 확인하십시오.
  2. app.js에 재미있는 인코딩이 없는지 확인하십시오.
  3. (-version

    당신이

    자바 버전 "1.6.0_33" 자바를 얻어야한다

    자바 TM을 티타늄 AVD

를 다시 저장하거나 삭제 안드로이드 도구를 사용하여) SE 런타임 환경 (빌드 1.6.0_33-b03) Java HotSpot (TM) 클라이언트 VM (빌드 20.8-b03, 혼합 모드, 공유)

관련 문제