Building an AssetBundle for target 'AndroidPlayer' is not allowed because the required module is not

Command Executed : Unity -batchmode -quit -projectPath D:/testGame -executeMethod AssetBundler.BuildAssetBundle -logFile D:/log.txt

I have already switched platform , but whenever i try to build asset bundle for android , it gives “Building an AssetBundle for target ‘AndroidPlayer’ is not allowed because the required module is not installed.”

even i tried with -buildTarget “android” with no avail.Anything am doing wrong?

Can you open Editor, and see if you can build to Android from BuildPlayerWindow?

I have the same problem,the reason is that my license is outdated.

1 Like