Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

搜索不到设备,一个奇怪的问题,劳烦看到的大佬指点下 #589

Open
XD-Z opened this issue Jan 9, 2025 · 0 comments
Open

Comments

@XD-Z
Copy link

XD-Z commented Jan 9, 2025

硬件设备是公司的,用Demo能搜索到到(还没有到连接呢),但是我用相同的方法,都是复制粘贴的就搜索不到,百度了,也查过了application配置初始化,项目清单文件权限,包括动态权限都给了,包括build.gradle的配置,除了版本不同

android = [
        minSdkVersion    : 14,
        targetSdkVersion : 30,
        compileSdkVersion: 30,
        buildToolsVersion: "30.0.3",
]

上面是楼主项目里的配置,

compileSdk = 34
    minSdk = 21
    targetSdk = 32

还有一点同样的代码在版本Android11能搜索到,在Android14搜索不到,懵了~
这个是我的,但是我在项目里运行就是找不到这台设备,到底是哪里的问题呢,劳烦大佬指点迷津,万分感谢!!

@XD-Z XD-Z changed the title 奇怪的问题,劳烦看到的大佬指点下 搜索不到设备,一个奇怪的问题,劳烦看到的大佬指点下 Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant