45 lines
1.0 KiB
Batchfile
45 lines
1.0 KiB
Batchfile
@echo off
|
|
echo Building VP9 Orchestra Android Library (Simplified)...
|
|
|
|
echo.
|
|
echo Checking prerequisites...
|
|
|
|
where java >nul 2>&1
|
|
if %ERRORLEVEL% neq 0 (
|
|
echo Error: Java not found in PATH. Please install Java 8 or higher.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo Java found:
|
|
java -version
|
|
|
|
echo.
|
|
echo Building without native components for initial setup...
|
|
|
|
cd android\gradle
|
|
|
|
echo.
|
|
echo Using Gradle wrapper to build Java-only library...
|
|
call gradlew.bat clean build --stacktrace
|
|
|
|
if %ERRORLEVEL% neq 0 (
|
|
echo.
|
|
echo Build failed. This is expected since NDK components are not yet configured.
|
|
echo.
|
|
echo To complete the setup, you need:
|
|
echo 1. Android SDK with Build Tools 34.0.0
|
|
echo 2. Android NDK r21 or higher
|
|
echo 3. Set ANDROID_HOME environment variable
|
|
echo 4. Set ANDROID_NDK_HOME environment variable
|
|
echo.
|
|
echo For now, you can work with the Godot project structure.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo.
|
|
echo Java library built successfully!
|
|
echo Next: Configure Android NDK for native VP9 decoder.
|
|
|
|
pause |