AssetBundle Androidでのエラー解決メモ

1 先頭にhttp://, https://がついてないとエラー出る。

最初localhost:8000とか適当に書いてたら java.net.MalformedURLException: Unknown protocol: localhost ってログが出た。

2 そもそもlocalhost使ってるとエラー?

java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 80): connect failed: ECONNREFUSED (Connection refused). 適当に固定ローカルIPのサーバーをVirtual Boxで作成してアセットバンドルをアップするとエラーがでなくなった。

3 動いてはいるがログではエラーが出ている?

E/Unity(1988): The AssetBundle 'http://192.168.1.105/1.0.3/bundle_text' can't be loaded because it was not built with the right version or build target.

Windowsでアセットバンドルを作成していたが、Android用のアセットバンドルを作成してアップしたらエラーがでなくなった。