sercan
Member
Hi,
Here is my setups. What am i missing?
and here is output:
Task :com.company.boxrocessDebugManifest
W:\com.company.box\src\main\AndroidManifest.xml:27:3-86:17 Warning:
application@android:label was tagged at AndroidManifest.xml:27 to replace other declarations but no other declaration present
W:\com.company.box\src\main\AndroidManifest.xml:28:5-37:16 Warning:
activity#com.company.box.RunnerActivity@android:label was tagged at AndroidManifest.xml:28 to replace other declarations but no other declaration present
> Task :com.company.boxrocessDebugResources
> Task :com.company.box:compileDebugJavaWithJavac FAILED
W:\com.company.box\src\main\java\com\company\box\GMShare.java:22: error: package android.support.v4.content does not exist
import android.support.v4.content.FileProvider;
^
W:\com.company.box\src\main\java\com\company\box\GMShare.java:340: error: cannot find symbol
return FileProvider.getUriForFile(activity, activity.getPackageName() + ".fileprovider", newFile);
^
symbol: variable FileProvider
location: class GMShare
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':com.company.box: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. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings
BU�LD FAILED in 8s
12 actionable tasks: 3 executed, 9 up-to-date
C:\WINDOWS\system32\cmd.exe DONE (1)
C:\WINDOWS\system32\subst.exe /d W:
C:\WINDOWS\system32\subst.exe DONE (0)
Error : Build Failed
Igor complete.
Here is my setups. What am i missing?
and here is output:
Task :com.company.boxrocessDebugManifest
W:\com.company.box\src\main\AndroidManifest.xml:27:3-86:17 Warning:
application@android:label was tagged at AndroidManifest.xml:27 to replace other declarations but no other declaration present
W:\com.company.box\src\main\AndroidManifest.xml:28:5-37:16 Warning:
activity#com.company.box.RunnerActivity@android:label was tagged at AndroidManifest.xml:28 to replace other declarations but no other declaration present
> Task :com.company.boxrocessDebugResources
> Task :com.company.box:compileDebugJavaWithJavac FAILED
W:\com.company.box\src\main\java\com\company\box\GMShare.java:22: error: package android.support.v4.content does not exist
import android.support.v4.content.FileProvider;
^
W:\com.company.box\src\main\java\com\company\box\GMShare.java:340: error: cannot find symbol
return FileProvider.getUriForFile(activity, activity.getPackageName() + ".fileprovider", newFile);
^
symbol: variable FileProvider
location: class GMShare
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':com.company.box: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. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings
BU�LD FAILED in 8s
12 actionable tasks: 3 executed, 9 up-to-date
C:\WINDOWS\system32\cmd.exe DONE (1)
C:\WINDOWS\system32\subst.exe /d W:
C:\WINDOWS\system32\subst.exe DONE (0)
Error : Build Failed
Igor complete.