我的应用在android studio 3.1.3中等待发布模式下的调试器 [英] My App waiting for debugger in release mode in android studio 3.1.3

查看:673
本文介绍了我的应用在android studio 3.1.3中等待发布模式下的调试器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Kotlin和android studio的业余爱好者.我正在尝试将Facebook登录信息集成到我的应用中,但最终遇到了障碍.跟随Facebook登录以获取android集成教程后,我无法在发布模式下运行该应用程序.我以前确实在调试模式下运行了相同的应用程序以进行调试.但是现在我手机上的应用在发布模式下也显示"Waiting for Debugger".

I am an amateur in Kotlin and android studio. I am trying to integrate the facebook login to my app but end up at a roadblock. After following the facebook login for android integration tutorial, I am unable to run the app in release mode. I did previously run the same app in debug mode for debugging. But now the app on my phone says "Waiting for Debugger" in release mode too.

我已经完成了以下操作,但没有成功.

I have done the following already and it has not worked.

  1. 在发布模式下将debugableable设置为false
  2. 重新启动ADB
  3. 重新启动Android Studio
  4. 重新启动手机
  5. 重启计算机
  6. 切换USB端口
  7. 更新所有内容
  8. 将密钥库移动到我的android项目的基本路径中.
  9. 将minifyEnabled设置为false
  10. 尝试检查BuildConfig.BUILD_TYPE.equals("debug")
  1. Set debuggable to false in release mode
  2. Restart ADB
  3. Restart Android Studio
  4. Restart phone
  5. Restart Computer
  6. Switch USB port
  7. Update everything
  8. moving the keystore inside the base path of my android project.
  9. set minifyEnabled false
  10. Tried Checking BuildConfig.BUILD_TYPE.equals("debug")

在显示的Run中,

07/24 12:11:43: Launching app
$ adb shell am start -n "com.example.vishwa.imaginators/com.example.vishwa.imaginators.SplashscreenActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Connected to process 16495 on device xiaomi-redmi_note_3-57c506ac
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
W/ActivityThread: Application com.example.vishwa.imaginators is waiting for the debugger on port 8100...
I/System.out: Sending WAIT chunk

我没有挂起logcat,因为里面有很多文字.

I did not put up the logcat because it's got tons of text in it.

推荐答案

您可能已在手机的Select app to be debugged中添加了您的应用程序.在Settings -> Developer Options -> Select app to be debugged

You might have added your app in Select app to be debugged on your phone. In Settings -> Developer Options -> Select app to be debugged

要解决此问题,请转到选择要调试的应用,然后点击No apps

To resolve this, go to Select app to be debugged and click on No apps

这篇关于我的应用在android studio 3.1.3中等待发布模式下的调试器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆