• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

[HELP] Problem with GRADLE

J

Jessé Oliveira

Guest
Hi. I am facing a problem that i dont know how to fix. I've already unistalled GMS 2, but i still got this problem. Can anyone help???

Thanx

Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
> Configure project :allib
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Observed package id 'extras;intel;Hardware_Accelerated_Execution_Manager' in inconsistent location 'C:\Users\integ\AppData\Local\Android\Sdk\.temp\PackageOperation01' (Expected 'C:\Users\integ\AppData\Local\Android\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager')
Observed package id 'platforms;android-29' in inconsistent location 'C:\Users\integ\AppData\Local\Android\Sdk\.temp\PackageOperation08' (Expected 'C:\Users\integ\AppData\Local\Android\Sdk\platforms\android-29')
> Configure project :com.integralgames.fliperadventure
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
> Configure project :dllib
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
> Task :allib:preBuild UP-TO-DATE
> Task :allib:preDebugBuild UP-TO-DATE
> Task :allib:compileDebugAidl NO-SOURCE
> Task :allib:compileDebugRenderscript UP-TO-DATE
> Task :allib:checkDebugManifest UP-TO-DATE
> Task :allib:generateDebugBuildConfig UP-TO-DATE
> Task :allib:generateDebugResValues UP-TO-DATE
> Task :allib:generateDebugResources UP-TO-DATE
> Task :allib:processDebugManifest UP-TO-DATE
> Task :allib:prepareLintJar UP-TO-DATE
> Task :allib:packageDebugResources UP-TO-DATE
> Task :allib:generateDebugRFile UP-TO-DATE
> Task :allib:generateDebugSources UP-TO-DATE
> Task :allib:javaPreCompileDebug UP-TO-DATE
> Task :allib:compileDebugJavaWithJavac UP-TO-DATE
> Task :allib:bundleLibCompileDebug UP-TO-DATE
> Task :com.integralgames.fliperadventure:preBuild UP-TO-DATE
> Task :dllib:preBuild UP-TO-DATE
> Task :dllib:preDebugBuild UP-TO-DATE
> Task :dllib:checkDebugManifest UP-TO-DATE
> Task :dllib:processDebugManifest UP-TO-DATE
> Task :com.integralgames.fliperadventure:preDebugBuild UP-TO-DATE
> Task :dllib:compileDebugAidl NO-SOURCE
> Task :com.integralgames.fliperadventure:compileDebugAidl NO-SOURCE
> Task :allib:packageDebugRenderscript NO-SOURCE
> Task :dllib:packageDebugRenderscript NO-SOURCE
> Task :com.integralgames.fliperadventure:compileDebugRenderscript NO-SOURCE
> Task :com.integralgames.fliperadventure:checkDebugManifest UP-TO-DATE
> Task :com.integralgames.fliperadventure:generateDebugBuildConfig UP-TO-DATE
> Task :com.integralgames.fliperadventure:prepareLintJar UP-TO-DATE
> Task :com.integralgames.fliperadventure:generateDebugSources UP-TO-DATE
> Task :dllib:compileDebugRenderscript UP-TO-DATE
> Task :dllib:generateDebugBuildConfig UP-TO-DATE
> Task :dllib:generateDebugResValues UP-TO-DATE
> Task :dllib:generateDebugResources UP-TO-DATE
> Task :dllib:packageDebugResources UP-TO-DATE
> Task :dllib:generateDebugRFile UP-TO-DATE
> Task :dllib:prepareLintJar UP-TO-DATE
> Task :dllib:generateDebugSources UP-TO-DATE
> Task :dllib:javaPreCompileDebug UP-TO-DATE
> Task :dllib:compileDebugJavaWithJavac UP-TO-DATE
> Task :dllib:bundleLibCompileDebug UP-TO-DATE
> Task :com.integralgames.fliperadventure:javaPreCompileDebug UP-TO-DATE
> Task :com.integralgames.fliperadventure:mainApkListPersistenceDebug UP-TO-DATE
> Task :com.integralgames.fliperadventure:generateDebugResValues UP-TO-DATE
> Task :com.integralgames.fliperadventure:generateDebugResources UP-TO-DATE
> Task :com.integralgames.fliperadventure:createDebugCompatibleScreenManifests UP-TO-DATE
> Task :com.integralgames.fliperadventure:mergeDebugResources UP-TO-DATE
> Task :com.integralgames.fliperadventure:processDebugManifest UP-TO-DATE
> Task :com.integralgames.fliperadventure:processDebugResources UP-TO-DATE
> Task :com.integralgames.fliperadventure:compileDebugJavaWithJavac
W:\com.integralgames.fliperadventure\src\main\java\com\integralgames\fliperadventure\GooglePlayServicesExtension.java:13: error: cannot find symbol
import android.support.v4.app.FragmentManager;
^
symbol: class FragmentManager
location: package android.support.v4.app
W:\com.integralgames.fliperadventure\src\main\java\com\integralgames\fliperadventure\GooglePlayServicesExtension.java:18: error: cannot find symbol
import android.support.v4.app.FragmentActivity;
^
symbol: class FragmentActivity
location: package android.support.v4.app
W:\com.integralgames.fliperadventure\src\main\java\com\integralgames\fliperadventure\PlayAPKExpansionExtension.java:18: error: package android.support.v4.content does not exist
import android.support.v4.content.ContextCompat;
^
W:\com.integralgames.fliperadventure\src\main\java\com\integralgames\fliperadventure\PlayAPKExpansionExtension.java:19: error: cannot find symbol
import android.support.v4.app.ActivityCompat;
^
symbol: class ActivityCompat
location: package android.support.v4.app
W:\com.integralgames.fliperadventure\src\main\java\com\integralgames\fliperadventure\PlayAPKExpansionExtension.java:249: error: cannot find symbol
ActivityCompat.requestPermissions(RunnerActivity.CurrentActivity,new String[]{Manifest.permission.READ_EXTERNAL_STORAGE}, MY_PERMISSIONS_REQUEST_READ_EXTERNAL_STORAGE);
^
symbol: variable ActivityCompat
location: class PlayAPKExpansionExtension
W:\com.integralgames.fliperadventure\src\main\java\com\integralgames\fliperadventure\PlayAPKExpansionExtension.java:312: error: cannot find symbol
if (ContextCompat.checkSelfPermission(RunnerActivity.CurrentActivity,Manifest.permission.READ_EXTERNAL_STORAGE)!= PackageManager.PERMISSION_GRANTED)
^
symbol: variable ContextCompat
location: class PlayAPKExpansionExtension
W:\com.integralgames.fliperadventure\src\main\java\com\integralgames\fliperadventure\PlayAPKExpansionExtension.java:319: error: cannot find symbol
ActivityCompat.requestPermissions(RunnerActivity.CurrentActivity,new String[]{Manifest.permission.READ_EXTERNAL_STORAGE}, MY_PERMISSIONS_REQUEST_READ_EXTERNAL_STORAGE);
^
symbol: variable ActivityCompat
location: class PlayAPKExpansionExtension
W:\com.integralgames.fliperadventure\src\main\java\com\integralgames\fliperadventure\PlayAPKExpansionExtension.java:332: error: cannot find symbol
RunnerActivity.CurrentActivity.setContentView(R.layout.download);
^
symbol: variable download
location: class layout
W:\com.integralgames.fliperadventure\src\main\java\com\integralgames\fliperadventure\PlayAPKExpansionExtension.java:333: error: cannot find symbol
mPB = (ProgressBar) RunnerActivity.CurrentActivity.findViewById(R.id.progressBar);
^
symbol: variable progressBar
location: class id
W:\com.integralgames.fliperadventure\src\main\java\com\integralgames\fliperadventure\PlayAPKExpansionExtension.java:334: error: cannot find symbol
mStatusText = (TextView) RunnerActivity.CurrentActivity.findViewById(R.id.statusText);
^
symbol: variable statusText
location: class id
W:\com.integralgames.fliperadventure\src\main\java\com\integralgames\fliperadventure\PlayAPKExpansionExtension.java:335: error: cannot find symbol
mProgressFraction = (TextView) RunnerActivity.CurrentActivity.findViewById(R.id.progressAsFraction);
^
symbol: variable progressAsFraction
location: class id
W:\com.integralgames.fliperadventure\src\main\java\com\integralgames\fliperadventure\PlayAPKExpansionExtension.java:336: error: cannot find symbol
mProgressPercent = (TextView) RunnerActivity.CurrentActivity.findViewById(R.id.progressAsPercentage);
^
symbol: variable progressAsPercentage
location: class id
W:\com.integralgames.fliperadventure\src\main\java\com\integralgames\fliperadventure\PlayAPKExpansionExtension.java:337: error: cannot find symbol
mAverageSpeed = (TextView) RunnerActivity.CurrentActivity.findViewById(R.id.progressAverageSpeed);
^
symbol: variable progressAverageSpeed
location: class id
W:\com.integralgames.fliperadventure\src\main\java\com\integralgames\fliperadventure\PlayAPKExpansionExtension.java:338: error: cannot find symbol
mTimeRemaining = (TextView) RunnerActivity.CurrentActivity.findViewById(R.id.progressTimeRemaining);
^
symbol: variable progressTimeRemaining
location: class id
W:\com.integralgames.fliperadventure\src\main\java\com\integralgames\fliperadventure\PlayAPKExpansionExtension.java:339: error: cannot find symbol
mDashboard = RunnerActivity.CurrentActivity.findViewById(R.id.downloaderDashboard);
^
symbol: variable downloaderDashboard
location: class id
W:\com.integralgames.fliperadventure\src\main\java\com\integralgames\fliperadventure\PlayAPKExpansionExtension.java:340: error: cannot find symbol
mCellMessage = RunnerActivity.CurrentActivity.findViewById(R.id.approveCellular);
^
symbol: variable approveCellular
location: class id
W:\com.integralgames.fliperadventure\src\main\java\com\integralgames\fliperadventure\PlayAPKExpansionExtension.java:341: error: cannot find symbol
mPauseButton = (Button) RunnerActivity.CurrentActivity.findViewById(R.id.pauseButton);
^
symbol: variable pauseButton
location: class id
W:\com.integralgames.fliperadventure\src\main\java\com\integralgames\fliperadventure\PlayAPKExpansionExtension.java:342: error: cannot find symbol
mWiFiSettingsButton = (Button) RunnerActivity.CurrentActivity.findViewById(R.id.wifiSettingsButton);
^
symbol: variable wifiSettingsButton
location: class id
W:\com.integralgames.fliperadventure\src\main\java\com\integralgames\fliperadventure\PlayAPKExpansionExtension.java:372: error: cannot find symbol
Button resumeOnCell = (Button) RunnerActivity.CurrentActivity.findViewById(R.id.resumeOverCellular);
^
symbol: variable resumeOverCellular
location: class id
W:\com.integralgames.fliperadventure\src\main\java\com\integralgames\fliperadventure\PlayAPKExpansionExtension.java:393: error: cannot find symbol
int stringResourceID = paused ? R.string.text_button_resume :
^
symbol: variable text_button_resume
location: class string
W:\com.integralgames.fliperadventure\src\main\java\com\integralgames\fliperadventure\PlayAPKExpansionExtension.java:394: error: cannot find symbol
R.string.text_button_pause;
^
symbol: variable text_button_pause
location: class string
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: W:\com.integralgames.fliperadventure\src\main\java\com\integralgames\fliperadventure\GooglePlayServicesExtension.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
21 errors
> Task :com.integralgames.fliperadventure:compileDebugJavaWithJavac FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':com.integralgames.fliperadventure: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
BUILD FAILED in 42s
34 actionable tasks: 1 executed, 33 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.
 

chirpy

Member
Please check the version of your GooglePlayServicesExtension. FragmentManager is only referenced in <3.1.8 if I remembered correctly.
In GMS 2.2.4 we now have to install GooglePlayServicesExtension from Game Options (gear icon) -> Main Options -> Add-ons
 
Top