11-12-2016 12:25 PM
Executing tasks: [:VrSamples:Native:Naly:Projects:Android:generateDebugSources, :VrSamples:Native:Naly:Projects:Android:mockableAndroidJar, :VrSamples:Native:Naly:Projects:Android:prepareDebugUnitTestDependencies, :VrSamples:Native:Naly:Projects:Android:generateDebugAndroidTestSources, :VrSamples:Native:Naly:Projects:Android:compileDebugSources, :VrSamples:Native:Naly:Projects:Android:compileDebugUnitTestSources, :VrSamples:Native:Naly:Projects:Android:compileDebugAndroidTestSources]
Configuration on demand is an incubating feature.
:VrSamples:Native:Naly:Projects:Android:preBuild UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:preDebugBuild UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:checkDebugManifest
:VrSamples:Native:Naly:Projects:Android:prepareDebugDependencies
:VrSamples:Native:Naly:Projects:Android:compileDebugAidl UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:compileDebugRenderscript UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:generateDebugBuildConfig UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:generateDebugAssets UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:mergeDebugAssets UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:generateDebugResValues UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:generateDebugResources UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:mergeDebugResources UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:processDebugManifest UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:processDebugResources UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:generateDebugSources UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:mockableAndroidJar UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:preDebugUnitTestBuild UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:prepareDebugUnitTestDependencies
:VrSamples:Native:Naly:Projects:Android:preDebugAndroidTestBuild UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:prepareDebugAndroidTestDependencies
:VrSamples:Native:Naly:Projects:Android:compileDebugAndroidTestAidl UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:processDebugAndroidTestManifest UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:compileDebugAndroidTestRenderscript UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:generateDebugAndroidTestBuildConfig UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:generateDebugAndroidTestAssets UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:mergeDebugAndroidTestAssets UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:generateDebugAndroidTestResValues UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:generateDebugAndroidTestResources UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:mergeDebugAndroidTestResources UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:processDebugAndroidTestResources UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:generateDebugAndroidTestSources UP-TO-DATE
:VrSamples:Native:Naly:Projects:Android:compileDebugJavaWithJavac
F:\Oculus\VrSamples\Native\Naly\java\com\KouTsuneka\naly\MainActivity.java:17: error: package com.oculus.vrappframework does not exist
import com.oculus.vrappframework.VrActivity;
^
F:\Oculus\VrSamples\Native\Naly\java\com\KouTsuneka\naly\MainActivity.java:19: error: cannot find symbol
public class MainActivity extends VrActivity {
^
symbol: class VrActivity
F:\Oculus\VrSamples\Native\Naly\java\com\KouTsuneka\naly\MainActivity.java:28: error: cannot find symbol
public static native long nativeSetAppInterface( VrActivity act, String fromPackageNameString, String commandString, String uriString );
^
symbol: class VrActivity
location: class MainActivity
F:\Oculus\VrSamples\Native\Naly\java\com\KouTsuneka\naly\MainActivity.java:30: error: method does not override or implement a method from a supertype
@Override
^
F:\Oculus\VrSamples\Native\Naly\java\com\KouTsuneka\naly\MainActivity.java:32: error: cannot find symbol
super.onCreate(savedInstanceState);
^
symbol: variable super
location: class MainActivity
F:\Oculus\VrSamples\Native\Naly\java\com\KouTsuneka\naly\MainActivity.java:34: error: cannot find symbol
Intent intent = getIntent();
^
symbol: method getIntent()
location: class MainActivity
F:\Oculus\VrSamples\Native\Naly\java\com\KouTsuneka\naly\MainActivity.java:35: error: cannot find symbol
String commandString = VrActivity.getCommandStringFromIntent( intent );
^
symbol: variable VrActivity
location: class MainActivity
F:\Oculus\VrSamples\Native\Naly\java\com\KouTsuneka\naly\MainActivity.java:36: error: cannot find symbol
String fromPackageNameString = VrActivity.getPackageStringFromIntent( intent );
^
symbol: variable VrActivity
location: class MainActivity
F:\Oculus\VrSamples\Native\Naly\java\com\KouTsuneka\naly\MainActivity.java:37: error: cannot find symbol
String uriString = VrActivity.getUriStringFromIntent( intent );
^
symbol: variable VrActivity
location: class MainActivity
F:\Oculus\VrSamples\Native\Naly\java\com\KouTsuneka\naly\MainActivity.java:39: error: cannot find symbol
setAppPtr( nativeSetAppInterface( this, fromPackageNameString, commandString, uriString ) );
^
symbol: method setAppPtr(long)
location: class MainActivity
10 errors
FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':VrSamples:Native:Naly:Projects:Android:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 0.952 secs
Solved! Go to Solution.
12-17-2016 07:26 PM
11-15-2016 09:51 PM
11-25-2016 05:28 AM
11-28-2016 07:24 PM
11-28-2016 07:29 PM
11-28-2016 08:21 PM
12-17-2016 07:26 PM
01-12-2017 10:58 PM
02-14-2017 07:59 AM
allprojects {
repositories {
jcenter()
flatDir {
dirs 'libs'
}
}
}
dependencies {
....
compile(name: 'VrAppFramework', ext: 'aar')
}