每次我尝试在 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.
我可以将它作为 Rhino 程序运行,但如果可能的话,我想要 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 位
- 最新的 Android SDK(Rev 21 和 API 17)64 位
- 钛工作室 2.1.4 GA