我正在使用一個已經在live中的應用程序。現在我已經添加了新功能。我試圖在添加新功能後創建已簽名的apk,但它顯示現有錯誤模塊,但現有的模塊現場工作好當創建簽署的apk正從舊模塊錯誤什麼是錯誤的原因,我需要知道如何創建一個簽名的apk爲我修改過的項目在創建已簽名的apk時發生錯誤
E:\updated one\Wed Studio\app\src\main\AndroidManifest.xml:842: Error: The <activity> element must be a direct child of the <application> element [WrongManifestParent]
<activity
^
E:\updated one\Wed Studio\app\src\main\AndroidManifest.xml:845: Error: The <activity> element must be a direct child of the <application> element [WrongManifestParent]
<activity
^
Explanation for issues of type "WrongManifestParent":
The <uses-library> element should be defined as a direct child of the
<application> tag, not the <manifest> tag or an <activity> tag. Similarly,
a <uses-sdk> tag much be declared at the root level, and so on. This check
looks for incorrect declaration locations in the manifest, and complains if
an element is found in the wrong place.
你做了什麼錯誤時運行完整的錯誤檢查? – Amy
它的id名稱和小錯誤。同時運行我的項目int不會顯示這些錯誤在創建簽名的apk的過程中,它顯示了多個錯誤500多 –
提到你遇到的錯誤。 – Pankaj