AndroidStudio老项目 macOS运行BlueTooth蓝牙串口助手(Android+Studio源码).rar

BlueTooth蓝牙串口助手(Android+Studio源码).rar

已经编译并安装了 打开app了。模拟器没有蓝牙,需要手机上运行app。

下载androidstudio2024。 safari下载中断了,怎么办 M4.

Android Studio Koala | 2024.1.1 Patch 1 macos下载 M4

bash 复制代码
curl -L -C - -o ~/Downloads/android-studio-2024.1.1.12-mac_arm.dmg "https://redirector.gvt1.com/edgedl/android/studio/install/2024.1.1.12/android-studio-2024.1.1.12-mac_arm.dmg"

卡了,强制结束

bash 复制代码
pkill -9 -f "Android Studio"

在anroid studio里下载JDK 8 macOS x64

The project is using an incompatible version (AGP 4.0.0) of the Android Gradle plugin. Minimum supported version is AGP 7.2.0.

See Android Studio & AGP compatibility options.

老项目需要

Android Studio

↓

AGP 4.0.0

↓

Gradle 6.1.1

↓

JDK 8

下载gradle超时 方法。

bash 复制代码
distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-6.1.1-all.zip

app

bash 复制代码
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: "config.gradle"

buildscript {
    repositories {
        maven { url 'https://maven.aliyun.com/repository/jcenter' }
        maven { url 'https://maven.aliyun.com/repository/google' }
        maven { url 'https://maven.aliyun.com/repository/public' }
        maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
    }
    dependencies {
        classpath "com.android.tools.build:gradle:4.0.0"
        classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
        classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        maven { url 'https://maven.aliyun.com/repository/jcenter' }
        maven { url 'https://maven.aliyun.com/repository/google' }
        maven { url 'https://maven.aliyun.com/repository/public' }
        maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

com.android.builder.internal.aapt.v2.Aapt2Daemon.checkStarted(Aapt2Daemon.kt:55) ... 32 more Caused by: java.io.IOException: error=86, Bad CPU type in executable

bash 复制代码
softwareupdate --install-rosetta --agree-to-license
相关推荐
墨狂之逸才14 分钟前
USB 的 HOST 和 DEVICE 到底有什么区别?ADB 调试应该选哪个?
android
奶油话梅糖1 小时前
苹果的内核跑上了安卓手机:2,631 Star 的 HakiOS 让 XNU 在 Adreno GPU 上画出 118 帧
android·macos·智能手机
恋猫de小郭1 小时前
Flutter THLC 的 WebView 滚动终于从 70 FPS 提升到 120 FPS
android·前端·flutter
好的佩奇12 小时前
Dart 之扩展类型
android·flutter·dart
alexhilton14 小时前
2027 Android 开发者路线图:学习、面试与 AI
android·kotlin·android jetpack
灿飞屋16 小时前
Kotlin与Java虚拟机三:控制流
android·java·开发语言·后端·python·kotlin·安卓
疯华整猫17 小时前
我用 Trae 把 Android 内存账重算了一遍
android·性能优化·源码
TimeFine19 小时前
AI 编程工作流的设计:从人工判断到 AI裁判
android·ai编程
阿杰m19 小时前
Android源码第四章:Android 系统启动——App 的第一行代码从哪来?
android
独隅1 天前
WebStorm macOS 安装调优与实战效果全景
ide·macos·webstorm