自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Titanium的常見(jiàn)錯(cuò)誤及應(yīng)對(duì)辦法

移動(dòng)開(kāi)發(fā)
本文將介紹在Titanium開(kāi)發(fā)中的常見(jiàn)錯(cuò)誤及應(yīng)對(duì)辦法。希望對(duì)各位正在使用Titanium開(kāi)發(fā)的朋友有所幫助。

[ERROR] Timed out waiting for emulator to be ready, you may need to close the emulator and try again

-----關(guān)閉Titanium后再啟動(dòng)

[ERROR] Script Error = Result of expression 'Titanium.Database' [undefined] is not an object. at app.js (line 1).

-----Clean工程后再啟動(dòng)

[ERROR] Error generating R.java from manifest

-----修正Application Id,必須符合FQDN(Fully Qualified Domain Name, 含義是完整的域名),不能有非字符。(Test -> com.example.test)。

appid中不能包含appcelerator,titanium等官方相關(guān)的詞語(yǔ)。

[ERROR] Exception occured while building Android project:

[ERROR] Traceback (most recent call last):

・・・・・・・・・・

[ERROR] UnicodeDecodeError: 'utf8' codec can't decode byte 0x82 in position 142: unexpected code type

-----把文件的編碼改為"UTF-8"

[ERROR] Failed installing com.appcelerator.kitchensink: pkg: /data/local/tmp/app.apk

[TRACE] Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]

-----更新SDK版本(建議2.2以上),選擇Google APIs

[ERROR] ....../strings.xml:3: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?

-----把String.xml中的“%d + %d = %d”改為“%1$d + %2$d = %3$d”

[ERROR] JDK version 'javac' is not recognized as an internal or external command

-----把%JAVA_HOME%\bin放入path環(huán)境變量中

[ERROR]Code Sign error: The identity ‘iPhone Developer: ‘ doesn’t match any valid certificate/private key pair in the default

-----provisioning profile做的有問(wèn)題,iOS Provisioning Portal中作成profile時(shí)選擇Development而不是Distribution

[ERROR] Analytics error sending request: The request timed out

[ERROR] Will re-queue analytics

-----刪除build/iphone再試

[TRACE] E/TiHttpClient( 1151): java.net.UnknownHostException: Host is unresolved: xxxxxxx

-----啟動(dòng)emulator時(shí)加參數(shù)'-dns-server 8.8.8.8'

[DEBUG] D:\android-sdk-windows\tools\emulator.exe -avd titanium_5_HVGA -port 5560 -sdcard "C:\Documents and Settings\RenSanNing\.titanium\titanium_5_HVGA.sdcard" -logcat *:d,* -no-boot-anim -partition-size 128

invalid command-line parameter: C:\Documents.

Hint: use '@foo' to launch a virtual device named 'foo'.

please use -help for more information

[DEBUG] signal caught: 3

[DEBUG] calling emulator kill on 13360

ERROR: The process "13360" not found.

-----通過(guò)以下命令在外部啟動(dòng)模擬器后,再在Titanium Studio中啟動(dòng)一次即可。

emulator.exe -avd titanium_5_HVGA -port 5560

"Could not locate the Android SDK at a given path" in Preferences

-----下載Android 2.1 API 7 或 Google APIs Android API 7 打開(kāi)「Window→Preferences→Aptana Studio→Titanium」設(shè)置Android SDK。

關(guān)于這個(gè)問(wèn)題Titanium Compatibility Matrix中說(shuō)的很清楚,如圖:

Distribute Android marketplace為APK簽名是出錯(cuò)

[ERROR] Unable to open 'F:\_workspace_titanium\_test_mobile2\_sign\_test_mobile2.apk' as zip archive

[ERROR] System Error while compiling Android classes.dex

-----確認(rèn)密碼,別名等信息是否跟keystore一致,具體步驟參考通過(guò)Titanium Studio為Android APK簽名

[ERROR] JDK version 1.7.0_02 detected, but 1.6 is required

-----安裝JDK1.6版本,具體可以查看源碼C:\Documents and Settings\$user_name$\Application Data\Titanium\mobilesdk\win32\1.8.2\android\prereq.py

責(zé)任編輯:佚名 來(lái)源: rensanning的博客
相關(guān)推薦

2009-12-29 15:34:08

ADO錯(cuò)誤提示

2022-01-23 14:29:25

C語(yǔ)言編程語(yǔ)言

2020-10-19 09:34:04

C語(yǔ)言內(nèi)存錯(cuò)誤編程語(yǔ)言

2019-10-10 15:57:09

云安全混合云架構(gòu)

2022-04-20 12:06:10

漏洞Java應(yīng)用程序黑客

2022-04-15 11:37:19

密碼網(wǎng)絡(luò)攻擊網(wǎng)絡(luò)安全

2023-11-27 16:39:09

數(shù)字化轉(zhuǎn)型

2012-10-11 15:28:18

設(shè)置默認(rèn)打印機(jī)

2010-01-27 12:06:00

UPS常見(jiàn)故障

2012-05-30 16:19:11

2013-08-15 09:47:07

云遷移云技術(shù)

2015-08-19 14:11:56

SQL Server錯(cuò)誤處理

2024-10-07 08:26:05

編程Python異常處理

2025-04-07 11:20:00

KubernetesPodPod容器

2023-03-24 20:21:34

項(xiàng)目管理

2012-05-18 11:34:03

Titaniumcons

2010-09-07 09:50:35

DIVCSS

2012-05-18 11:29:55

Titaniumpros

2009-12-09 09:28:14

PLINQ

2024-07-16 08:00:00

Kubernetes開(kāi)發(fā)
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)