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
相关推荐
00后程序员张1 小时前
苹果App Store上架指南:费用、原理与步骤详解
android·ios·小程序·https·uni-app·iphone·webview
天神哥哥啊1 小时前
cocos联调注意事项-安卓
android
TDengine (老段)1 小时前
TDengine TSDB 实战排障四(升级与兼容)
android·java·大数据·数据库·物联网·时序数据库·tdengine
蓝速科技2 小时前
政务自助终端信创选型与无人值守落地方案
android·大数据·数据库·人工智能·科技·技术分享·政务
硫酸锌013 小时前
在手机上运行Python增量备份手机数据到PC电脑
android·windows·python
她说..3 小时前
IntelliJ IDEA 快捷键速查表(Mac 版)
java·macos·intellij-idea
hai_android4 小时前
子 View 被压小时,如何向父容器"告状"?——MEASURED_STATE_TOO_SMALL 向上传递机制
android·kotlin·android jetpack
AFinalStone4 小时前
Android 7 多用户源码解析(七)系统服务的多用户感知处理
android·系统架构·多用户
怪奇云呼军4 小时前
从 ElevenLabs 看工具调用:闪电智能 Voice Agent 的企业集成验收设计
android·大数据·运维·服务器·网络·人工智能·kotlin