Apaguei o arquivo
ALEX FC e resolveu aquele erro porém surgiu outro erro,
Código: Selecionar todos
Observed package id 'build-tools;23.0.0-preview' in inconsistent location 'D:\Programas\_Developer\Android\_sdk\build-tools\23.0.0_rc2' (Expected 'D:\Programas\_Developer\Android\_sdk\build-tools\23.0.0-preview')
Incremental java compilation is an incubating feature.
:com.companyname.Teste:preBuild UP-TO-DATE
:com.companyname.Teste:preReleaseBuild UP-TO-DATE
:com.companyname.Teste:checkReleaseManifest
:com.companyname.Teste:preDebugBuild UP-TO-DATE
:com.companyname.Teste:prepareComAndroidSupportMultidex101Library UP-TO-DATE
:com.companyname.Teste:prepareComAndroidSupportSupportV42220Library UP-TO-DATE
:com.companyname.Teste:prepareReleaseDependencies
:com.companyname.Teste:compileReleaseAidl UP-TO-DATE
:com.companyname.Teste:compileReleaseRenderscript UP-TO-DATE
:com.companyname.Teste:generateReleaseBuildConfig UP-TO-DATE
:com.companyname.Teste:mergeReleaseShaders UP-TO-DATE
:com.companyname.Teste:compileReleaseShaders UP-TO-DATE
:com.companyname.Teste:generateReleaseAssets UP-TO-DATE
:com.companyname.Teste:mergeReleaseAssets UP-TO-DATE
:com.companyname.Teste:generateReleaseResValues UP-TO-DATE
:com.companyname.Teste:generateReleaseResources UP-TO-DATE
:com.companyname.Teste:mergeReleaseResources UP-TO-DATE
:com.companyname.Teste:processReleaseManifest UP-TO-DATE
:com.companyname.Teste:processReleaseResources UP-TO-DATE
:com.companyname.Teste:generateReleaseSources UP-TO-DATE
:com.companyname.Teste:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:com.companyname.Teste:compileReleaseJavaWithJavac
:com.companyname.Teste:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Z:\com.companyname.Teste\src\main\java\com\companyname\Teste\DemoRenderer.java:220: error: cannot find symbol
if(ContextCompat.checkSelfPermission(RunnerActivity.CurrentActivity,Manifest.permission.WRITE_EXTERNAL_STORAGE)!= PackageManager.PERMISSION_GRANTED)
^
symbol: method checkSelfPermission(RunnerActivity,String)
location: class ContextCompat
Z:\com.companyname.Teste\src\main\java\com\companyname\Teste\DemoRenderer.java:225: error: cannot find symbol
if(ContextCompat.checkSelfPermission(RunnerActivity.CurrentActivity,Manifest.permission.READ_EXTERNAL_STORAGE)!= PackageManager.PERMISSION_GRANTED)
^
symbol: method checkSelfPermission(RunnerActivity,String)
location: class ContextCompat
Z:\com.companyname.Teste\src\main\java\com\companyname\Teste\DemoRenderer.java:236: error: cannot find symbol
ActivityCompat.requestPermissions(RunnerActivity.CurrentActivity,perms,RUNNER_STORAGE_PERMISSION_REQUEST);
^
symbol: method requestPermissions(RunnerActivity,String[],int)
location: class ActivityCompat
Z:\com.companyname.Teste\src\main\java\com\companyname\Teste\RunnerActivity.java:1225: error: method does not override or implement a method from a supertype
@Override
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Z:\com.companyname.Teste\src\main\java\com\companyname\Teste\Gamepad\Gamepad.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
:com.companyname.Teste:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':com.companyname.Teste:compileReleaseJavaWithJavac'.
> 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: 25.247 secs
cmd /c "subst /d Z:"
Lint Build report available at C:\Users\Gabriel\Documents\GameMaker\Cache\Mouse_Keys\Android\Default\com.companyname.Teste\build\outputs\lint-results.html
FastCreate End End: 12:06:54
Compile finished: 12:06:54
Eu desinstalei o GMS e instalei novamente, instalei a ultima versão disponível, atualizei tudo que faltava no Android SDK, desinstalei o Java JDK, baixei a versão mais recente, e quando tento compilar para Android o erro ainda persiste, não sei oque está acontecendo.
Alguém pode me ajudar?
Edit: (Prints)
Configurações
http://prntscr.com/ciqier
http://prntscr.com/ciqixy
ANDROID SDK
http://prntscr.com/ciqji1
http://prntscr.com/ciqjwy
Obs: Com exceção da API24(Android 7.0) tenho TODAS as outras APIs do Android baixadas no meu SDK
[ ] Publicar um App no Google Play.
[ ]GANHAR DINHEIRO.
[ ]Viver com o lucro dos meu jogos/apps (Sonho).