コガネブログ

平日更新を目標に Unity や C#、Visual Studio、ReSharper などのゲーム開発アレコレを書いていきます

2021-04-27から1日間の記事一覧

【Unity】Exception in thread "main" com.android.apksig.apk.MinSdkVersionException:

概要 Exception in thread "main" com.android.apksig.apk.MinSdkVersionException: Failed to determine APK's minimum supported platform version. Use --min-sdk-version to override Android ビルドした ROM に対して apksigner を実行したら 上記のエ…

【Unity】IOException: Write fault on path /XXXX/[Unknown]

概要 IOException: Write fault on path /XXXX/[Unknown] at System.IO.FileStream.WriteInternal (System.Byte[] src, System.Int32 offset, System.Int32 count) [0x00077] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.IO.FileStream.Write (System.Byte[] array, System.Int32 offse</eae584ce26bc40229c1b1aa476bfa589>…

【Unity】Play Asset Delivery のビルドで「Signing bundle...」が終わらない場合

概要 // Only sign the .aab if a custom keystore is configured. if (_jarSigner.UseCustomKeystore) { DisplayProgress("Signing bundle", 0.9f); var signingErrorMessage = _jarSigner.Sign(aabFilePath); if (signingErrorMessage != null) { DisplayB…

【Unity】Exception failed: System.Threading.ThreadAbortException

概要 Exception failed: System.Threading.ThreadAbortException at (wrapper managed-to-native) System.Threading.WaitHandle.Wait_internal(intptr*,int,bool,int) at System.Threading.WaitHandle.WaitOneNative (System.Runtime.InteropServices.SafeHa…

【Unity】[BT:1.5.0] Error: null

概要 bundletool failed: Failed to run 'XXXX/Editor/Data/PlaybackEngines/AndroidPlayer\OpenJDK\bin\java.exe -jar "YYYY\Assets\GooglePlayPlugins\com.google.android.appbundle\Editor\Tools\bundletool-all.jar" build-bundle --overwrite --config=…

【Unity】.aab を端末にインストールするバッチファイル

概要 上記の aab_install.bat を保存する .aab をダブルクリックした時にこの .bat を実行するように設定変更する これで .aab をダブルクリックしたら端末にインストールできるようになる BUNDLETOOL のパスは必要に応じて変更する bundletool のダウンロー…