QR CodeBarcode Scanner and Generator 插件測試使用
測試使用 QR CodeBarcode Scanner and Generator 插件
將插件引入unity項目中, 使用debug key進行打包apk, 發生下面這個錯誤
這是因為打包apk過程中要下載groovy-all-2.4.15.jar, 連接不到的緣故
我們改成 export project 打包出來再用 android studio 處理
Android執行完成 gradle files 進行安裝後出現下面問題
The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFOR
找到 intent-filter 的地方, 在前面加 android:exported="true", 如下
在打包, 出現下面問題
The application could not be installed: SHELL_UNRESPONSIVE
把手機vpn打開, 這台 pixel install apk 如果沒有翻牆就會卡住, 而且在桌面會找不到app, 但軟件清單裡面卻可以找到
最後執行閃退了
這是因為沒有打開 camera 權限, 開啟之後就好了