Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

1.8K
Visualizações
A failure occurred while executing com.android.build.gradle.internal.tasks.workers$actionfacade See the Console for details

When I try build Android application. I got some error about R8. I used to be able to build successfully, but at some point I started getting errors.

enter image description here

Configure project :launcher WARNING: The option 'android.enableR8' is deprecated and should not be used anymore.

I googled android.enableR8 and it only worked for people developing apps in Android Studio.

My project currently uses PUN 2 to enable multiplayer, and Firebase for the database.


Also, the error continues below;

注意:D:\UnityProjects(ProjectName)\Temp\gradleOut\unityLibrary\src\main\java\com\unity3d\player\UnityPlayerActivity.javaは非推奨のAPIを使用またはオーバーライドしています。 注意:詳細は、-Xlint:deprecationオプションを指定して再コンパイルしてください。

It says UnityPlayerActivity.java uses a deprecated API, and check details by using -Xlint:deprecation option.

I don't know what -Xlint:deprecation is, and I don't remember changing the Unity Playern settings.

Is this a Unity bug? Or is it a bug in IL2CPP?

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

I don't know the cause yet, and I haven't solved it fundamentally, but I found that the problem was in Firebase.

I deleted all the Firebase related folders and the build worked.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda