0
團結5.6.0b9,GVR 1.2團結谷歌紙板構建失敗:「沒有資源的發現,給定的名稱匹配」
建設爲Android失敗:
AndroidManifest.xml:18: error: Error: No resource found that matches the given name (at 'theme' with value '@style/VrActivityTheme').
我相信這個問題可能在我從gvr 1.1.0移到1.2後出現了,但是我按照說明進行了升級。
在任何情況下,我怎麼可以診斷這個問題?
ETA: 出錯行來自AndroidManifest.xml中在生成過程中聚集,並在臨時區域發現:
<application android:icon="@drawable/app_icon" android:label="@string/app_name" android:debuggable="true" android:isGame="false" android:theme="@style/VrActivityTheme">
這個問題似乎是標籤
安卓主題=「@ style/VrActivityTheme」
這並沒有出現在AndroidManifest.xml文件中, m想知道如何發現誰加了它,爲什麼會有問題。
我很欣賞的建議不使用測試階段,但我們正試圖利用原生紙板撐在5.6。如果我可以確切地知道Unity測試版是問題,那麼我可以通過某種方式來解決它。
Unity在Android構建過程中處理AndroidManifest.xml的創建過程,它看起來像是在使用Unity的beta版本,因此您應該使用穩定版本。無論如何,你總是可以查看該文件並查看第18行的內容;您可以提供的信息越多越好。 – Foggzie