2012-11-17 3 views
0

나는 티타늄 Studio에서 V8 안드로이드로 프로그램을 실행하려고 할 때마다, 나는 다음과 같은 얻을 오류 메시지 :Titanium Studio에서 V8 Android를 인식하지 못합니까?

This launch uses a V8 Android Runtime, which require Android 2.2 SDK and above. 
Please edit your launch configuration to select a compatible SDK. 

내가 코뿔소 프로그램으로 실행할 수 있지만, 가능하면, 내가 추가하고 싶습니다 V8 엔진의 속도. Android 2.2로 프로그램을 실행하려고하는데 최신 SDK가 있습니다. 무슨 일있어?

tiapp.xml (약간 벗었)

<?xml version="1.0" encoding="UTF-8"?> 
<ti:app xmlns:ti="http://ti.appcelerator.org"> 
    <deployment-targets> 
     <target device="mobileweb">true</target> 
     <target device="iphone">false</target> 
     <target device="ipad">false</target> 
     <target device="android">true</target> 
     <target device="blackberry">false</target> 
    </deployment-targets> 
    <sdk-version>2.1.4.GA</sdk-version> 
    <publisher>pearsonartphoto</publisher> 
    <icon>appicon.png</icon> 
    <persistent-wifi>false</persistent-wifi> 
    <prerendered-icon>false</prerendered-icon> 
    <statusbar-style>default</statusbar-style> 
    <statusbar-hidden>false</statusbar-hidden> 
    <fullscreen>false</fullscreen> 
    <navbar-hidden>false</navbar-hidden> 
    <analytics>true</analytics> 
    <property name="ti.ui.defaultunit">system</property> 
    <iphone> 
     <orientations device="iphone"> 
      <orientation>Ti.UI.PORTRAIT</orientation> 
     </orientations> 
     <orientations device="ipad"> 
      <orientation>Ti.UI.PORTRAIT</orientation> 
      <orientation>Ti.UI.UPSIDE_PORTRAIT</orientation> 
      <orientation>Ti.UI.LANDSCAPE_LEFT</orientation> 
      <orientation>Ti.UI.LANDSCAPE_RIGHT</orientation> 
     </orientations> 
    </iphone> 
    <android xmlns:android="http://schemas.android.com/apk/res/android"/> 
    <mobileweb> 
     <precache/> 
     <splash> 
      <enabled>true</enabled> 
      <inline-css-images>true</inline-css-images> 
     </splash> 
     <theme>default</theme> 
    </mobileweb> 
    <modules> 
     <module platform="commonjs" version="2.3.0">ti.cloud</module> 
    </modules> 
</ti:app> 

내 설정 :

  • 윈도우 7 64 비트 (API 17 계 21) 64 비트
  • 최신 안드로이드 SDK
  • Titanium Studio 2.1.4 GA
+0

tiapp.xml이 2.1.4 SDK로 설정되어 있습니까? ' 2.1.4.GA' –

+0

' 2.1.4.GA'확인. – PearsonArtPhoto

답변

1

를 안드로이드 2.2 API 레벨 8

  • 로 대상 장치를 선택 실행 -> 구성 실행 ...

    Android 에뮬레이터 프로젝트 목록에서 문제가있는 프로젝트를 찾아 강조 표시합니다. 오른쪽에서 Android API가 버전 2.2 이상인지 확인하십시오.

  • +0

    그게 문제였습니다. 도와 주셔서 감사합니다! – PearsonArtPhoto

    0

    나는 같은 문제를 만났고 다음 단계를 통해 해결했습니다.

    1. 티타늄 환경 설정 (윈도우 -> 환경 설정)으로 이동하십시오.
    2. 그림에 표시된대로 티타늄 옵션을 선택하십시오.
    3. 설정 기본 안드로이드 SDK 구글 API에 안드로이드 2.2
    4. 화면 크기를 확인
    5. 를 눌러 선택
    6. 다시는 티타늄 스튜디오
    7. 안드로이드 에뮬레이터를 사용하여 응용 프로그램을 실행

    Titanium android settings

    만약 그렇다면

  • 열기 AVD 관리자
  • 만들기로 문제가 해결되지, 안드로이드 SDK 귀하의 Andorid SDK 위치에

    1. 이동 (: C : \ 프로그램 파일 \ 안드로이드 \ 안드로이드 SDK 등)을 확인하시기 바랍니다 새로운 가상 장치
    2. 은, 티타늄 Studio에서 새 가상 장치 시도
  • +0

    시도했는데 작동하지 않았습니다 ... – PearsonArtPhoto

    +0

    avd 설정을 확인하십시오 – Anand

    관련 문제