2012-09-19 22 views
3

我在build.phonegap.com上構建了一個應用程序,所以不能使用sdk。 我上傳我的自定義config.xml文件,因爲我需要爲Android的「留在web視圖」特性,應用在android系統工作正常,但是當我試圖把它上傳在Windows Phone商店,我得到:Phonegap .xap不被接受,得到錯誤1034

1034:AppManifest.xml文件具有無效的入口程序集。更新它,然後再試一次

確保AppManifest.xaml的EntryPointAssembly字段中指定的程序集名稱是存在於XAP中的真實程序集的名稱。重建你的項目應該可以解決這個問題。

我無法訪問appmanifest.xml,我嘗試在phonegap中重新構建它,但它對我沒有幫助!

我的config.xml

<?xml version="1.0" encoding="UTF-8"?> 
<widget xmlns="http://www.w3.org/ns/widgets" version="1.0.0" versionCode="10" id="com.app" xmlns:gap="http://phonegap.com/ns/1.0"> 
<!-- versionCode is optional and Android only --> 
<name>Theappname</name> 
<description> The app. </description> 
<author email="[email protected]" href="https://aurl.com"> Feel free to contact </author> 
<preference name="stay-in-webview" value="true"/> </widget> 

回答

0

我今天發現的PhoneGap的幫助中心的解決方案。如果您也有這個問題,請將您應用的phonegap版本降級到1.9.0。