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
相关推荐
Carson带你学Android4 小时前
移动开发周报 :一句话出 App、低端机跑 Gemini、手机写代码
android·ai编程
恋猫de小郭4 小时前
站起来,Flutter 要支持真正的 3D Texture 了
android·前端·flutter
Frag0ut14 小时前
开源下载管理器MDM下载获取与实操指南:IDM的上位替代
windows·macos·mdm·下载管理器·断点续传·开源下载工具·idm替代
FungLeo21 小时前
FengCMS · PHP+MySQL 升级实录 · 留言模块的六项问题:未审核进公开列表、旧回复覆盖、批量删除恢复
android·mysql·php·工程实践·fengcms
洞见前行1 天前
Android 架构演进全解:从 MVC、MVP、MVVM 到 MVI 的原理、代码实战与得失权衡
android·架构·kotlin
专注Android黑科技1 天前
Android 玩机黑科技:刀盾「系统冰点还原」与「保环境双清(恢复出厂不掉ROOT)」全图解教程
android·技术分享
独隅1 天前
RustRover MacOS 安装与实战效能全评测
macos·jetbrains·rustrover
StarsGreen1 天前
Android meminfo 服务详细介绍
android
三少爷的鞋1 天前
Main-safe、非阻塞与结构化并发,才是协程架构的核心
android
Escalating_xu2 天前
【MySQL】事务管理(上):从 ACID 到提交回滚,把一次转账真正做完整
android·数据库·mysql