11-23-2015 01:02 AM
FAILURE: Build failed with an exception.
* What went wrong:
Task 'assembleRelease' not found in root project 'VrCubeWorld_NativeActivity'.
11-23-2015 07:36 AM
Alas, since build.gradle doesn't have a release buildType, we get the failure.
11-25-2015 11:35 AM
12-02-2015 09:17 AM
12-02-2015 10:38 AM
12-02-2015 10:49 PM
12-02-2015 10:53 PM
"guerk" wrote:
similar problems on mac os with mobile sdk 1.0.0
...
because the script build.py is breaking before installing with
...
gradle --daemon -q printProjectName
Traceback (most recent call last):
File "./build.py", line 29, in <module>
ovrbuild.build()
File "/Users/guerk/Oculus/ovr_sdk_mobile_1.0.0.0/bin/scripts/build/ovrbuild.py", line 492, in build
checksig( device )
File "/Users/guerk/Oculus/ovr_sdk_mobile_1.0.0.0/bin/scripts/build/ovrbuild.py", line 603, in checksig
apkpath = get_apk_path()
File "/Users/guerk/Oculus/ovr_sdk_mobile_1.0.0.0/bin/scripts/build/ovrbuild.py", line 596, in get_apk_path
'app_name': get_project_name(),
File "/Users/guerk/Oculus/ovr_sdk_mobile_1.0.0.0/bin/scripts/build/ovrbuild.py", line 570, in get_project_name
( retcode, out, err ) = call( cmd, suppressErrors=True, grabStdOut=True)
File "/Users/guerk/Oculus/ovr_sdk_mobile_1.0.0.0/bin/scripts/build/ovrbuild.py", line 133, in call
p = Popen( cmdline.encode("ascii","ignore").split(), stdout=PIPE, stderr=PIPE, shell=useShell )
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1308, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
12-08-2015 03:07 PM
sudo apt-get update
sudo apt-get install default-jdk
sudo apt-get install lib32z1
mkdir ~/android
cd ~/android
mv ../Downloads/android-ndk-r10e-linux-x86_64.bin .
chmod +x android-ndk-r10e-linux-x86_64.bin
./android-ndk-r10e-linux-x86_64.bin
mv ../Downloads/android-sdk_r24.4.1-linux.tgz .
tar -xzf android-sdk_r24.4.1-linux.tgz
./android-sdk-linux/tools/android
export ANDROID_SDK=~/android/android-sdk-linux
export ANDROID_NDK=~/android/android-ndk-r10e
export ANDROID_HOME=$ANDROID_SDK
export NDKROOT=$ANDROID_NDK
export PATH=$PATH:$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools:$ANDROID_NDK
unzip ovr_sdk_mobile_1.0.0.0.zip
find . -name "*.py" -exec perl -pi -e 's/\r\n|\n|\r/\n/g' {} \;
find . -name "*.sh" -exec perl -pi -e 's/\r\n|\n|\r/\n/g' {} \;
find . -name "gradlew" -exec perl -pi -e 's/\r\n|\n|\r/\n/g' {} \;
chmod +x gradlew
chmod +x VrSamples/Native/VrCubeWorld_SurfaceView/Projects/Android/build.py
VrSamples/Native/VrCubeWorld_SurfaceView/Projects/Android/build.py
12-08-2015 03:15 PM
find . -name "*.py" -exec perl -pi -e 's/\r\n|\n|\r/\n/g' {} \;
find . -name "*.sh" -exec perl -pi -e 's/\r\n|\n|\r/\n/g' {} \;
find . -name "gradlew" -exec perl -pi -e 's/\r\n|\n|\r/\n/g' {} \;
12-08-2015 05:13 PM