问题描述
我使用 BLE API 开发了一个应用程序。首先,函数 startScan() 不起作用。但是当我在 Gradle 中更改 applicationId 的变量时,代码运行良好。我不明白为什么?谁能给我一个答案? :D
旧版本:
defaultConfig {
applicationId "com.example.facemask"
minSdkVersion 27
targetSdkVersion 30
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
新版本:
defaultConfig {
applicationId "com.example.displaydata"
minSdkVersion 27
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)