Giter Site home page Giter Site logo

nervjs / taro-native-shell Goto Github PK

View Code? Open in Web Editor NEW
192.0 20.0 95.0 5.68 MB

Taro 原生 React Native 壳子

License: MIT License

JavaScript 8.58% Java 39.54% Objective-C 5.92% Ruby 11.43% Starlark 1.47% Makefile 3.69% C++ 17.06% Objective-C++ 11.15% Shell 1.18%

taro-native-shell's People

Contributors

zhiqingchen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

taro-native-shell's Issues

It is difficult to download "boost_1_76_0. tar. gz" using the mainland China network

question

How to speed up downloads ?

env

docker run -itd ubuntu bash

setup:

apt update
# cmake and g++ are require for 'bundle exec fastlane assemble'
apt install unzip zip wget curl android-sdk openjdk-11-jdk* git cmake g++
git clone https://github.com/NervJS/taro-native-shell.git --branch v0.70.0-2
# use fnm to install node 16 === begin
...
# use fnm to install node 16 === end
cd taro-native-shell
yarn
yarn upgradePeerdeps
cd android && ./gradlew assembleRelease

There will be errors at ./gradlew assembleRelease.
It is often interrupted in the middle of downloading.
Now I can only compile the container of the overseas server once and then package and image it to my own computer.

success:

 > Task :expo-av:configureCMakeRelWithDebInfo[x86_64]
C/C++: release|x86_64 :CMake Warning (dev) in CMakeLists.txt:
C/C++: release|x86_64 :  No project() command is present.  The top-level CMakeLists.txt file must
C/C++: release|x86_64 :  contain a literal, direct call to the project() command.  Add a line of
C/C++: release|x86_64 :  code such as
C/C++: release|x86_64 :    project(ProjectName)
C/C++: release|x86_64 :  near the top of the file, but after cmake_minimum_required().
C/C++: release|x86_64 :  CMake is pretending there is a "project(Project)" command on the first
C/C++: release|x86_64 :  line.
C/C++: release|x86_64 :This warning is for project developers.  Use -Wno-dev to suppress it.

 > Task :expo-modules-core:downloadFolly
Download https://github.com/facebook/folly/archive/v2021.07.22.00.tar.gz

+ > Task :expo-modules-core:downloadBoost
+ Download https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.gz

 > Task :expo-modules-core:downloadDoubleConversion
Download https://github.com/google/double-conversion/archive/v1.1.6.tar.gz

 > Task :react-native-image-resizer:compileReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

 > Task :expo-modules-core:configureCMakeRelWithDebInfo[arm64-v8a]

fail:

The Kotlin Gradle plugin was loaded multiple times in different subprojects, which is not supported and may break the build.
This might happen in subprojects that apply the Kotlin plugins with the Gradle 'plugins { ... }' DSL if they specify explicit versions, even if the versions are equal.
Please add the Kotlin plugin to the common parent project or the root project, then remove the versions in the subprojects.
If the parent project does not need the plugin, add 'apply false' to the plugin line.
See: https://docs.gradle.org/current/userguide/plugins.html#sec:subprojects_plugins_dsl
The Kotlin plugin was loaded in the following projects: ':expo', ':expo-modules-core'

- > Task :expo-modules-core:downloadDoubleConversion UP-TO-DATE
- Download https://github.com/google/double-conversion/archive/v1.1.6.tar.gz
-
- > Task :expo-modules-core:downloadFolly UP-TO-DATE
- Download https://github.com/facebook/folly/archive/v2021.07.22.00.tar.gz
-
- > Task :expo-modules-core:downloadBoost
-Download https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.gz
-
- > Task :expo-modules-core:downloadBoost FAILED

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
 -----------
* What went wrong:
- Execution failed for task ':expo-modules-core:downloadBoost'.
- > A failure occurred while executing de.undercouch.gradle.tasks.download.internal.DefaultWorkerExecutorHelper$DefaultWorkAction
-   > de.undercouch.gradle.tasks.download.org.apache.hc.core5.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 130274594; received: 1808784)

* Try:
 > Run with --stacktrace option to get the stack trace.
 > Run with --info or --debug option to get more log output.
 > Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
 -----------
* What went wrong:
java.lang.StackOverflowError (no error message)

* Try:
 > Run with --stacktrace option to get the stack trace.
 > Run with --info or --debug option to get more log output.
 > Run with --scan to get full insights.
==============================================================================

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2m 41s
1182 actionable tasks: 18 executed, 1164 up-to-date

taro init some , 然后直接clone taro-native-shell 没走下来

taro init some , yarn install 了, 然后 yarn dev:rn 也成功了, 8081 那个地址也能访问了。
然后 clone 了 taro-native-shell 下来, 根据官方提示不需要做什么好像, 运行
react-native run-android
Scanning folders for symlinks in C:\Users\ven\Desktop\taro-native-shell\node_modules (167ms)
JS server already running.
Building and installing the app on the device (cd android && gradlew.bat installDebug)...

Configure project :app

Installing unimodules:
[email protected] from C:\Users\ven\Desktop\taro-native-shell\node_modules@unimodules\core
[email protected] from C:\Users\ven\Desktop\taro-native-shell\node_modules@unimodules\react-native-adapter
[email protected] from C:\Users\ven\Desktop\taro-native-shell\node_modules\expo-app-loader-provider
[email protected] from C:\Users\ven\Desktop\taro-native-shell\node_modules\expo-av
[email protected] from C:\Users\ven\Desktop\taro-native-shell\node_modules\expo-brightness
[email protected] from C:\Users\ven\Desktop\taro-native-shell\node_modules\expo-constants
[email protected] from C:\Users\ven\Desktop\taro-native-shell\node_modules\expo-file-system
[email protected] from C:\Users\ven\Desktop\taro-native-shell\node_modules\expo-image-picker
[email protected] from C:\Users\ven\Desktop\taro-native-shell\node_modules\expo-location
[email protected] from C:\Users\ven\Desktop\taro-native-shell\node_modules\expo-permissions
[email protected] from C:\Users\ven\Desktop\taro-native-shell\node_modules\expo-sensors
[email protected] from C:\Users\ven\Desktop\taro-native-shell\node_modules\unimodules-barcode-scanner-interface
[email protected] from C:\Users\ven\Desktop\taro-native-shell\node_modules\unimodules-camera-interface
[email protected] from C:\Users\ven\Desktop\taro-native-shell\node_modules\unimodules-constants-interface
[email protected] from C:\Users\ven\Desktop\taro-native-shell\node_modules\unimodules-face-detector-interface
[email protected] from C:\Users\ven\Desktop\taro-native-shell\node_modules\unimodules-file-system-interface
[email protected] from C:\Users\ven\Desktop\taro-native-shell\node_modules\unimodules-font-interface
[email protected] from C:\Users\ven\Desktop\taro-native-shell\node_modules\unimodules-image-loader-interface
[email protected] from C:\Users\ven\Desktop\taro-native-shell\node_modules\unimodules-permissions-interface
[email protected] from C:\Users\ven\Desktop\taro-native-shell\node_modules\unimodules-sensors-interface
[email protected] from C:\Users\ven\Desktop\taro-native-shell\node_modules\unimodules-task-manager-interface
Observed package id 'extras;intel;Hardware_Accelerated_Execution_Manager' in inconsistent location 'E:\androidSDK.temp\PackageOperation01'
(Expected 'E:\androidSDK\extras\intel\Hardware_Accelerated_Execution_Manager')

Task :app:installDebug FAILED
Skipping device 'emulator-5554' (emulator-5554): Device is OFFLINE.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:installDebug'.

com.android.builder.testing.api.DeviceException: No online devices found.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 44s
405 actionable tasks: 1 executed, 404 up-to-date
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html

试了一晚上hello world 没有跑下来,感觉官方的流程都走了,rn 就是不启动,我以为我的模拟器有问题, 然后 react-native init 了一个项目, 确定能跑。 所以希望有人能提供一些解答。

谢谢

使用use_frameworks!构建失败

我在Podfile中加入use_frameworks!后编译失败了,因为我想导入swift库就需要使用它,请问该如何处理呢,我使用的电脑是M1

Execution failed for task ':expo-av:compileDebugJavaWithJavac'

npm install -g @tarojs/cli
taro init myApp
clone taro-native-shell
npm install
执行react-native run-android的时候报错,如下:
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':expo-av:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug
    option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with
Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.1/userguide/command_line_interface.html#sec:com
mand_line_warnings

报No static method loadLibrary错误

编译运行时直接报错:

java.lang.NoSuchMethodError: No static method loadLibrary(Ljava/lang/String;)V in class Lcom/facebook/soloader/SoLoader; or its super classes (declaration of 'com.facebook.soloader.SoLoader' appears in /data/app/com.tarodemo-61beqQ6pvhXVeuMkNVDhdg==/split_lib_dependencies_apk.apk)
        at com.facebook.react.bridge.ReactBridge.staticInit(ReactBridge.java:18)
        at com.facebook.react.bridge.NativeMap.<clinit>(NativeMap.java:19)
        at com.facebook.react.bridge.JSCJavaScriptExecutorFactory.create(JSCJavaScriptExecutorFactory.java:21)
        at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:912)
        at java.lang.Thread.run(Thread.java:764)

网上找的解决办法

implementation 'com.facebook.fresco:fresco:1.9.0'
implementation 'com.facebook.fresco:animated-gif:1.9.0'
// IN CASE YOU NEED WEBP SUPPORT / MAKE SURE TO CHANGE THIS TOO TO 1.9.0
implementation 'com.facebook.fresco:animated-webp:1.9.0'
implementation 'com.facebook.fresco:webpsupport:1.9.0'

试了,无效

gradle镜像怎么设置

我发现在当前项目下设置镜像不起使用(话说这东西应该在这项目中设好镜像呀)。我本想提pr的,但这块我不太熟悉。我发现只是在当前项目下添加镜像不起使用,我修改了node_modules/expo-av/android/build.gradle才起使用。有谁能处理一下吗?直接使用咱们这个项目会超时。几次都失败,不仅仅是时间长的问题。
另外,也不是每个人都要有梯子吧。没有梯子这东西就没法用了,我花了几个小时找问题,才设置好的镜像。

直接clone下来的项目通不过编译

环境:
react-native-cli: 2.0.1
react-native: 0.59.9
react-native run-ios 报错信息如下:
The following build commands failed:
CompileC /Users/Xiaoluob/Desktop/taro-native-shell-master/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/third-party.build/Objects-normal/x86_64/vlog_is_on.o /Users/Xiaoluob/Desktop/taro-native-shell-master/node_modules/react-native/third-party/glog-0.3.4/src/vlog_is_on.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/taroDemo.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Failed to install the requested application
The bundle identifier of the application could not be determined.
Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/taroDemo.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
是否是react-native的版本问题?

对shell的一些建议

  1. 建议ios那里使用cocoapods来管理第三方依赖
  2. taro-rn默认使用了一些第三方依赖库,如react-native-image-crop-picker,那么在shell这里应该默认配置并link好,要不一些新入手的人会很难解决

安卓打包apk异常

参照RN安卓的打包流程,打包apk过程无报错,安装过程无报错,debug模式在模拟器和真机上均正常,就是安装apk到真机后再打开则闪退。logcat报Unable to load script from assets 'index.android.bundle'错误

壳子工程 能更新下配置文件 支持Androidx 吗

如题,现在主流的框架都是Androidx的,降级的话 可能有问题,导入moudle改动量比较大不适用后续的版本升级,壳子工程没升级是因为升级后有问题吗?还是目前的版本不好统一

clone项目,react-native run-android编译报错

Task :expo-av:compileDebugJavaWithJavac FAILED
注: 某些输入文件使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
错误: 找不到符号。。。。等等!
华为 mate X Pro :window 10 ,其他环境跟Taro教程一样

这些commit在哪里?

修改部分代码以支持 Taro,此部分可以直接 cherry-pick

[scripts] 修改 android, ios 脚本,增加 upgradePeerdeps 脚本
[devDependencies] 增加 install-peerdeps 和 pod-install
[ios] 添加相关 APP 权限说明
[ios] 使用亮色主题
[android] 添加国内 maven 源
[android] 添加 gif 支持
[android] 注释原 react native 打包
[android] 使用亮色主题
[docs] 复制该 README.md 文件
[license] 复制 LICENSE 文件

android找不到bundle/iOS无法自动启动虚拟机

android经过
BUNDLE [android, dev] rn_temp/index.js ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100.0% (1086/1086), done.
这步以后,react-native run-android的时候提示红字:找不到index.android.bundle;
iOS同样经过如上的步骤后,提示无法自动打开iPhone6虚拟机
环境为macbook,系统版本10.15,xcode版本11.1

使用原生项目进行taro集成

请问如果我们自己项目进行集成,步骤都有什么? 包的引入我们可以查到,但是内部是不是有一些改动?主要的问题在于应用宝,如果不使用最新版本的RN 可能会出现搜不到应用的问题。 谢谢

react-native run-android报错

环境:win10

命令:react-native run-android

报错:

> Task :app:preDebugBuild FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find com.github.yalantis:ucrop:2.2.2-native.
  Searched in the following locations:
    - file:/C:/Users/imhjh/AppData/Local/Android/Sdk/extras/m2repository/com/github/yalantis/ucrop/2.2.2-native/ucrop-2.2.2-native.pom
    - file:/C:/Users/imhjh/AppData/Local/Android/Sdk/extras/m2repository/com/github/yalantis/ucrop/2.2.2-native/ucrop-2.2.2-native.jar
    - file:/C:/Users/imhjh/AppData/Local/Android/Sdk/extras/google/m2repository/com/github/yalantis/ucrop/2.2.2-native/ucrop-2.2.2-native.pom
    - file:/C:/Users/imhjh/AppData/Local/Android/Sdk/extras/google/m2repository/com/github/yalantis/ucrop/2.2.2-native/ucrop-2.2.2-native.jar
    - file:/C:/Users/imhjh/AppData/Local/Android/Sdk/extras/android/m2repository/com/github/yalantis/ucrop/2.2.2-native/ucrop-2.2.2-native.pom
    - file:/C:/Users/imhjh/AppData/Local/Android/Sdk/extras/android/m2repository/com/github/yalantis/ucrop/2.2.2-native/ucrop-2.2.2-native.jar
    - file:/C:/Users/imhjh/.m2/repository/com/github/yalantis/ucrop/2.2.2-native/ucrop-2.2.2-native.pom
    - file:/C:/Users/imhjh/.m2/repository/com/github/yalantis/ucrop/2.2.2-native/ucrop-2.2.2-native.jar
    - https://dl.google.com/dl/android/maven2/com/github/yalantis/ucrop/2.2.2-native/ucrop-2.2.2-native.pom
    - https://dl.google.com/dl/android/maven2/com/github/yalantis/ucrop/2.2.2-native/ucrop-2.2.2-native.jar
    - https://jcenter.bintray.com/com/github/yalantis/ucrop/2.2.2-native/ucrop-2.2.2-native.pom
    - https://jcenter.bintray.com/com/github/yalantis/ucrop/2.2.2-native/ucrop-2.2.2-native.jar
    - file:/E:/job/code/taro-native-shell/node_modules/react-native/android/com/github/yalantis/ucrop/2.2.2-native/ucrop-2.2.2-native.pom
    - file:/E:/job/code/taro-native-shell/node_modules/react-native/android/com/github/yalantis/ucrop/2.2.2-native/ucrop-2.2.2-native.jar
  Required by:
      project :app > project :react-native-image-crop-picker

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 19s
49 actionable tasks: 1 executed, 48 up-to-date
error Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html
error Command failed: gradlew.bat app:installDebug. Run CLI with --verbose flag for more details.

启动失败

环境
xcode: 11

执行以下命令

taro build --type rn --watch
react-native run-ios --simulator="iPhone 11 Pro Max"

Output

leungdeiMac:taro-native-shell leung$ react-native run-ios --simulator="iPhone 11 Pro Max"
Scanning folders for symlinks in /Users/leung/taro-native-shell/node_modules (12ms)
Found Xcode workspace taroDemo.xcworkspace
CoreData: annotation:  Failed to load optimized model at path '/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/Frameworks/InstrumentsPackaging.framework/Versions/A/Resources/XRPackageModel.momd/XRPackageModel 9.0.omo'
Building using "xcodebuild -workspace taroDemo.xcworkspace -configuration Debug -scheme taroDemo -destination id=6E6CD24C-5DAA-41F5-82AD-615D25232677 -derivedDataPath build"
User defaults from command line:
    IDEDerivedDataPathOverride = /Users/leung/taro-native-shell/ios/build


note: Using new build system

note: Planning build

note: Constructing build description

error: /Users/leung/taro-native-shell/ios/Pods/Target Support Files/Pods-taroDemo/Pods-taroDemo.debug.xcconfig: unable to open file (in target "taroDemo" in project "taroDemo") (in target 'taroDemo' from project 'taroDemo')

error: /Users/leung/taro-native-shell/ios/Pods/Target Support Files/Pods-taroDemo/Pods-taroDemo.debug.xcconfig: unable to open file (in target "taroDemo" in project "taroDemo") (in target 'taroDemo' from project 'taroDemo')

error: /Users/leung/taro-native-shell/ios/Pods/Target Support Files/Pods-taroDemo/Pods-taroDemo.debug.xcconfig: unable to open file (in target "taroDemo" in project "taroDemo") (in target 'taroDemo' from project 'taroDemo')

error: /Users/leung/taro-native-shell/ios/Pods/Target Support Files/Pods-taroDemo/Pods-taroDemo.debug.xcconfig: unable to open file (in target "taroDemo" in project "taroDemo") (in target 'taroDemo' from project 'taroDemo')

warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the taroDemo editor. (in target 'taroDemo' from project 'taroDemo')

error: /Users/leung/taro-native-shell/ios/Pods/Target Support Files/Pods-taroDemoTests/Pods-taroDemoTests.debug.xcconfig: unable to open file (in target "taroDemoTests" in project "taroDemo") (in target 'taroDemoTests' from project 'taroDemo')

error: /Users/leung/taro-native-shell/ios/Pods/Target Support Files/Pods-taroDemoTests/Pods-taroDemoTests.debug.xcconfig: unable to open file (in target "taroDemoTests" in project "taroDemo") (in target 'taroDemoTests' from project 'taroDemo')

error: /Users/leung/taro-native-shell/ios/Pods/Target Support Files/Pods-taroDemoTests/Pods-taroDemoTests.debug.xcconfig: unable to open file (in target "taroDemoTests" in project "taroDemo") (in target 'taroDemoTests' from project 'taroDemo')

error: /Users/leung/taro-native-shell/ios/Pods/Target Support Files/Pods-taroDemoTests/Pods-taroDemoTests.debug.xcconfig: unable to open file (in target "taroDemoTests" in project "taroDemo") (in target 'taroDemoTests' from project 'taroDemo')



** BUILD FAILED **


Installing build/Build/Products/Debug-iphonesimulator/taroDemo.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/taroDemo.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

打包成apk出错

android目录下运行

./gradlew assembleRelease --stacktrace

报下面的错误,重装依赖没解决。

> Task :app:bundleReleaseJsAndAssets
Scanning folders for symlinks in /home/chenyx/JS_Project/taro-native-shell/node_modules (9ms)
Scanning folders for symlinks in /home/chenyx/JS_Project/taro-native-shell/node_modules (9ms)
Loading dependency graph, done.

Cannot find entry file index.js in any of the roots: ["/home/chenyx/JS_Project/taro-native-shell"]


> Task :app:bundleReleaseJsAndAssets FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:bundleReleaseJsAndAssets'.
> Process 'command 'node'' finished with non-zero exit value 1

* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:bundleReleaseJsAndAssets'.
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
        at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
        at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
        at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
        at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
        at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
        at org.gradle.execution.taskgraph.LocalTaskInfoExecutor.execute(LocalTaskInfoExecutor.java:42)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:277)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:262)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:135)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
Caused by: org.gradle.process.internal.ExecException: Process 'command 'node'' finished with non-zero exit value 1
        at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:395)
        at org.gradle.process.internal.DefaultExecAction.execute(DefaultExecAction.java:37)
        at org.gradle.api.tasks.AbstractExecTask.exec(AbstractExecTask.java:56)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:46)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:801)
        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:768)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:131)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)
        ... 31 more


* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 6s
320 actionable tasks: 1 executed, 319 up-to-date

0.67-expo yarn android错误。

metro能正常启动,taro-native-shell也分别yarn ,yarn upgradePeerdeps过了,但是yarn android报错

config/index.js加了rn配置项的

我把taro-native-shell放在TaroRN项目里面的,不知道有没有影响

PS C:\Users\Supernova\Desktop\TaroRN-0.67\TaroRN\taro-native-shell> yarn android

yarn run v1.22.17
warning ........\package.json: No license field
$ react-native run-android
warn Package expo-modules-core has been ignored because it contains invalid configuration. Reason: "dependency.platforms.ios" must be of type object
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 1640 file(s) to forward-jetify. Using 16 workers...
info JS server already running.
info Installing the app...

Configure project :app
WARNING:DSL element 'dexOptions' is obsolete and should be removed.
It will be removed in version 8.0 of the Android Gradle plugin.
Using it has no effect, and the AndroidGradle plugin optimizes dexing automatically.
task ':app:processDebugManifest'

Configure project :expo-application
WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.

Configure project :expo-av
WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.

Configure project :expo-barcode-scanner
WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.

Configure project :expo-brightness
WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.

Configure project :expo-camera
WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.

Configure project :expo-constants
WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.

Configure project :expo-file-system
WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.

Configure project :expo-font
WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.

Configure project :expo-image-loader
WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.

Configure project :expo-image-picker
WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.

Configure project :expo-keep-awake
WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.

Configure project :expo-location
WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.

Configure project :expo-modules-core
WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.

Configure project :expo-sensors
WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.

Configure project :expo

Using expo modules

  • expo-application (4.2.2)
  • expo-av (11.2.3)
  • expo-barcode-scanner (11.4.0)
  • expo-brightness (10.3.0)
  • expo-camera (12.3.0)
  • expo-constants (13.2.3)
  • expo-file-system (14.1.0)
  • expo-font (10.2.0)
  • expo-image-loader (3.2.0)
  • expo-image-picker (13.1.1)
  • expo-keep-awake (10.2.0)
  • expo-location (14.3.0)
  • expo-modules-core (0.11.3)
  • expo-sensors (11.4.0)

WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.
WARNING:The specified Android SDK Build Tools version (28.0.3) is ignored, as
it is below the minimum supported version (30.0.3) for Android Gradle Plugin 7.1.2.
Android SDK Build Tools 30.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '28.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
WARNING:The specified Android SDK Build Tools version (30.0.2) is ignored, as
it is below the minimum supported version (30.0.3) for Android Gradle Plugin 7.1.2.
Android SDK Build Tools 30.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '30.0.2'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

Task :expo:compileDebugKotlin FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
341 actionable tasks: 3 executed, 338 up-to-date
(node:3164) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at C:\Users\Supernova\Desktop\TaroRN-0.67\TaroRN\taro-native-shell\node_modules@expo\devcert\node_modules\tslib\package.json.
Update this package.json to use a subpath pattern like "./".
(Use node --trace-deprecation ... to show where the warning was created)
(node:6424) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at C:\Users\Supernova\Desktop\TaroRN-0.67\TaroRN\taro-native-shell\node_modules@expo\devcert\node_modules\tslib\package.json.
Update this package.json to use a subpath pattern like "./
".
(Use node --trace-deprecation ... to show where the warning was created)
e: C:\Users\Supernova\Desktop\TaroRN-0.67\TaroRN\taro-native-shell\node_modules\expo\android\src\main\java\expo\modules\ReactActivityDelegateWrapper.kt: (13, 27): Unresolved reference: ReactInstanceEventListener
e: C:\Users\Supernova\Desktop\TaroRN-0.67\TaroRN\taro-native-shell\node_modules\expo\android\src\main\java\expo\modules\ReactActivityDelegateWrapper.kt: (161, 43): Unresolved reference: ReactInstanceEventListener
e: C:\Users\Supernova\Desktop\TaroRN-0.67\TaroRN\taro-native-shell\node_modules\expo\android\src\main\java\expo\modules\ReactActivityDelegateWrapper.kt: (162, 9): 'onReactContextInitialized' overrides nothing
e: C:\Users\Supernova\Desktop\TaroRN-0.67\TaroRN\taro-native-shell\node_modules\expo\android\src\main\java\expo\modules\ReactActivityDelegateWrapper.kt: (163, 74): Type mismatch: inferred type is but ReactInstanceManager.ReactInstanceEventListener! was expected
e: C:\Users\Supernova\Desktop\TaroRN-0.67\TaroRN\taro-native-shell\node_modules\expo\android\src\main\java\expo\modules\ReactActivityDelegateWrapper.kt: (167, 74): Type mismatch: inferred type is but ReactInstanceManager.ReactInstanceEventListener! was expected

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':expo:compileDebugKotlin'.

Compilation error. See log for more details

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 16s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
(node:3164) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at C:\Users\Supernova\Desktop\TaroRN-0.67\TaroRN\taro-native-shell\node_modules@expo\devcert\node_modules\tslib\package.json.
Update this package.json to use a subpath pattern like "./".
(Use node --trace-deprecation ... to show where the warning was created)
(node:6424) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at C:\Users\Supernova\Desktop\TaroRN-0.67\TaroRN\taro-native-shell\node_modules@expo\devcert\node_modules\tslib\package.json.
Update this package.json to use a subpath pattern like "./
".
(Use node --trace-deprecation ... to show where the warning was created)
e: C:\Users\Supernova\Desktop\TaroRN-0.67\TaroRN\taro-native-shell\node_modules\expo\android\src\main\java\expo\modules\ReactActivityDelegateWrapper.kt: (13, 27): Unresolved reference: ReactInstanceEventListener
e: C:\Users\Supernova\Desktop\TaroRN-0.67\TaroRN\taro-native-shell\node_modules\expo\android\src\main\java\expo\modules\ReactActivityDelegateWrapper.kt: (161, 43): Unresolved reference: ReactInstanceEventListener
e: C:\Users\Supernova\Desktop\TaroRN-0.67\TaroRN\taro-native-shell\node_modules\expo\android\src\main\java\expo\modules\ReactActivityDelegateWrapper.kt: (162, 9): 'onReactContextInitialized' overrides nothing
e: C:\Users\Supernova\Desktop\TaroRN-0.67\TaroRN\taro-native-shell\node_modules\expo\android\src\main\java\expo\modules\ReactActivityDelegateWrapper.kt: (163, 74): Type mismatch: inferred type is but ReactInstanceManager.ReactInstanceEventListener! was expected
e: C:\Users\Supernova\Desktop\TaroRN-0.67\TaroRN\taro-native-shell\node_modules\expo\android\src\main\java\expo\modules\ReactActivityDelegateWrapper.kt: (167, 74): Type mismatch: inferred type is but ReactInstanceManager.ReactInstanceEventListener! was expected

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':expo:compileDebugKotlin'.

Compilation error. See log for more details

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 16s

at makeError (C:\Users\Supernova\Desktop\TaroRN-0.67\TaroRN\taro-native-shell\node_modules\execa\index.js:174:9)
at C:\Users\Supernova\Desktop\TaroRN-0.67\TaroRN\taro-native-shell\node_modules\execa\index.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)     
at async runOnAllDevices (C:\Users\Supernova\Desktop\TaroRN-0.67\TaroRN\taro-native-shell\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:109:5)
at async Command.handleAction (C:\Users\Supernova\Desktop\TaroRN-0.67\TaroRN\taro-native-shell\node_modules\@react-native-community\cli\build\index.js:192:9)

info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Invariant Violation: "taroDemo" has not been registered.

我还完全不了解RN,我在taro项目中运行 taro build --type rn --platform android,然后shell中运行 react-native run-android,报如标题的错。
修改配置文件config/index.js的rn.appName = taroDemo。其他是cli初始化的东西,除了src/目录以外
依赖如下:
"dependencies": { "@babel/runtime": "^7.7.7", "@reduxjs/toolkit": "^1.5.1", "@tarojs/cli": "3.2.8", "@tarojs/components": "3.2.8", "@tarojs/react": "3.2.8", "@tarojs/rn-runner": "^3.2.8", "@tarojs/runtime": "3.2.8", "@tarojs/taro": "3.2.8", "@tarojs/taro-rn": "^3.2.8", "lodash": "^4.17.15", "react": "^17.0.0", "react-dom": "^17.0.0", "react-native": "^0.64.0", "react-redux": "^7.2.3", "redux": "^4.0.5", "taro-ui": "^3.0.0-alpha.10" }

yarn android 报错

1.拉去0.66分支;
2.yarn install安装依赖
3.yarn android报错;
报错信息:

  • What went wrong:
    A problem occurred configuring project ':react-native-community_cameraroll'.

Could not resolve all artifacts for configuration ':react-native-community_cameraroll:classpath'.
Could not download builder-3.2.1.jar (com.android.tools.build:builder:3.2.1)
> Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/3.2.1/builder-3.2.1.jar'.
> Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/3.2.1/builder-3.2.1.jar'.
> Connect to dl.google.com:443 [dl.google.com/127.0.1.2] failed: Connection refused: connect

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 40s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ':react-native-community_cameraroll'.

Could not resolve all artifacts for configuration ':react-native-community_cameraroll:classpath'.
Could not download builder-3.2.1.jar (com.android.tools.build:builder:3.2.1)
> Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/3.2.1/builder-3.2.1.jar'.
> Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/3.2.1/builder-3.2.1.jar'.
> Connect to dl.google.com:443 [dl.google.com/127.0.1.2] failed: Connection refused: connect

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 40s

at makeError (F:\H5\taro-native-shell\node_modules\execa\index.js:174:9)
at F:\H5\taro-native-shell\node_modules\execa\index.js:278:16
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async runOnAllDevices (F:\H5\taro-native-shell\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:106:5)
at async Command.handleAction (F:\H5\taro-native-shell\node_modules\@react-native-community\cli\build\index.js:186:9)

info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Android 启动闪退

am

我是按着官方文档步骤来的,Taro 项目是 init 生成的,没有改过, 编译也正常,但启动就闪退。

android路过,Androidstudio编译都过不了

Androidstudio编译都过不了,
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
放开这条注释都报内存溢出,设置-Xmx12048m,一个多小时都没编译过去,内存都占到了5g,里面是否有死循环

Out of memory: Java heap space.
Please assign more memory to Gradle in the project's gradle.properties file.
For example, the following line, in the gradle.properties file, sets the maximum Java heap size to 1,024 MB:
org.gradle.jvmargs=-Xmx1024m

安卓端按返回键退出应用,多次操作会导致crash

 java.lang.RuntimeException: Unable to destroy activity {cn.com.gf/com.tarodemo.MainActivity}: java.lang.IllegalArgumentException: Receiver not registered: expo.modules.av.AVManager$1@615cbed
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4605)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:4623)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at android.app.ActivityThread.-wrap5(Unknown Source:0)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1757)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:105)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:164)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6944)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: Caused by: java.lang.IllegalArgumentException: Receiver not registered: expo.modules.av.AVManager$1@615cbed
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:1183)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1456)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:658)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:658)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at expo.modules.av.AVManager.onHostDestroy(AVManager.java:184)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at org.unimodules.adapters.react.services.UIManagerModuleWrapper$3.onHostDestroy(UIManagerModuleWrapper.java:170)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at com.facebook.react.bridge.ReactContext.onHostDestroy(ReactContext.java:237)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at com.facebook.react.ReactInstanceManager.moveToBeforeCreateLifecycleState(ReactInstanceManager.java:687)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at com.facebook.react.ReactInstanceManager.onHostDestroy(ReactInstanceManager.java:596)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at com.facebook.react.ReactInstanceManager.onHostDestroy(ReactInstanceManager.java:610)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at com.facebook.react.ReactActivityDelegate.onDestroy(ReactActivityDelegate.java:117)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at com.facebook.react.ReactActivity.onDestroy(ReactActivity.java:70)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at android.app.Activity.performDestroy(Activity.java:7522)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1255)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4592)
10-09 15:05:33.594 31174 31174 E AndroidRuntime: 	... 9 more
10-09 15:05:33.602  1558  3224 D AppErrorSuggester: Not install apperror suggest center
10-09 15:05:33.602  1558  3224 D AppErrorSuggester: suggest code:0
10-09 15:05:33.602  1558  3224 D Debug   : !@DumpState : SHIP
10-09 15:05:33.602  1558  3224 D Debug   : !@DumpState : debug level:0x4f4c
10-09 15:05:33.603  1558  3224 D Debug   : !@Dumpstate : Finally, system will skip dumpstate
10-09 15:05:33.603  1558  3224 W ActivityManager: crash : cn.com.gf,0

crash 报错信息如上。
搜了下,是expo-av的一个bug。
有修复链接如下 expo/expo#6099

taro-native-shell 应该要升级下包版本吧。

我目前的解决方式是直接修改node_modules中源码,用patch-package 工具打patch解决问题。

error The resource `/Users/lsnsh/work/taro-native-shell/index.js` was not found..

生成 React Native JS Bundle 后,打安卓 Release APK 包失败,控制台报错

报错信息:

> Task :app:bundleReleaseJsAndAssets FAILED
warning: the transform cache was reset.
error The resource `/Users/lsnsh/work/taro-native-shell/index.js` was not found.. Run CLI with --verbose flag for more details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:bundleReleaseJsAndAssets'.
> Process 'command 'node'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 27s
272 actionable tasks: 1 executed, 271 up-to-date

复现步骤:

  1. Taro 小程序项目目录下,执行 npm run build:rn,会生成 rn_temprn_bundle 目录;其中 rn_bundle 目录下有自动生成的 React Native JS Bundle——index.bundle
  2. 由于相关图片资源的的组织形式感觉不太对劲,手动执行以下命令再次生成 React Native JS Bundle,会直接输出到 taro-native-shell 下的指定目录
    # 如果没有这个目录,需要先手动建一下,否则会报错
    mkdir ../taro-native-shell/android/app/src/main/assets
    # 然后执行
    node ./node_modules/react-native/local-cli/cli.js bundle --platform android --dev false --entry-file ./rn_temp/index.js --bundle-output ../taro-native-shell/android/app/src/main/assets/index.android.bundle --assets-dest ../taro-native-shell/android/app/src/main/res
  3. 然后进入 taro-native-shell 项目目录下,执行 cd android && ./gradlew assembleRelease

环境信息:

➜  taro-mp git:(dev) ✗ npx taro info
👽 Taro v2.2.16


  Taro CLI 2.2.16 environment info:
    System:
      OS: macOS 11.2.1
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 12.16.2 - ~/.nvm/versions/node/v12.16.2/bin/node
      Yarn: 1.22.4 - /usr/local/bin/yarn
      npm: 6.14.4 - ~/.nvm/versions/node/v12.16.2/bin/npm
    npmPackages:
      @tarojs/cli: 2.2.16 => 2.2.16
      @tarojs/components: 2.2.16 => 2.2.16
      @tarojs/components-qa: 2.2.16 => 2.2.16
      @tarojs/components-rn: ^2.2.16 => 2.2.16
      @tarojs/mini-runner: 2.2.16 => 2.2.16
      @tarojs/plugin-sass: ^2.2.10 => 2.2.10
      @tarojs/plugin-uglify: ^2.2.10 => 2.2.10
      @tarojs/rn-runner: ^2.2.16 => 2.2.16
      @tarojs/router: 2.2.16 => 2.2.16
      @tarojs/taro: 2.2.16 => 2.2.16
      @tarojs/taro-alipay: 2.2.16 => 2.2.16
      @tarojs/taro-h5: 2.2.16 => 2.2.16
      @tarojs/taro-qq: 2.2.16 => 2.2.16
      @tarojs/taro-quickapp: 2.2.16 => 2.2.16
      @tarojs/taro-redux-rn: ^2.2.16 => 2.2.16
      @tarojs/taro-rn: ^2.2.16 => 2.2.16
      @tarojs/taro-router-rn: ^2.2.16 => 2.2.16
      @tarojs/taro-swan: 2.2.16 => 2.2.16
      @tarojs/taro-tt: 2.2.16 => 2.2.16
      @tarojs/taro-weapp: 2.2.16 => 2.2.16
      @tarojs/webpack-runner: 2.2.16 => 2.2.16
      eslint-config-taro: 2.2.16 => 2.2.16
      eslint-plugin-taro: 2.2.16 => 2.2.16
      nerv-devtools: ^1.5.7 => 1.5.7
      nervjs: ^1.5.7 => 1.5.7
      react: 16.8.0 => 16.8.0
      react-native: 0.59.9 => 0.59.9
      stylelint-config-taro-rn: 2.2.16 => 2.2.16
      stylelint-taro-rn: 2.2.16 => 2.2.16
      taro-ui: ^2.3.3 => 2.3.4
➜  taro-native-shell git:(0.59.9) ✗ react-native info
info
  React Native Environment Info:
    ...
    SDKs:
      iOS SDK:
        Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
      Android SDK:
        API Levels: 23, 28, 29, 30
        Build Tools: 23.0.1, 28.0.3, 29.0.2, 30.0.0
        System Images: android-23 | Intel x86 Atom_64
    IDEs:
      Android Studio: 4.1 AI-201.8743.12.41.7042882
      Xcode: 12.4/12D4e - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.0 => 16.8.0
      react-native: 0.59.9 => 0.59.9
    npmGlobalPackages:
      react-native-cli: 2.0.1

关于壳工程打包问题

壳工程 分支 0.70.0 代码:

  1. 先使用壳工程安装了 debug 版本的 app,然后在 源工程 yarn dev:rn 进行开发调试
  2. 开发完毕后在 源工程 配置好 output 路径,然后执行 yarn build:rn --platform android 打包
  3. 回到壳工程执行 cd android && ./gradlew assembleRelease 打包 apk 文件。

发现打包出来的 apk 是壳工程里的示例代码,把 壳工程 的 App.js 文件名修改成 App3.js 后再次执行上述的打包步骤,发现出现了如下报错:

error Unable to resolve module ./App from /Volumes/KINGSTON_DISK/www/taro-app-shell/index.js: 

Error: Unable to resolve module ./App from /Volumes/KINGSTON_DISK/www/taro-app-shell/index.js: 

None of these files exist:
  * App(.native|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)
  * App/index(.native|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)
  4 |
None of these files exist:
  * App(.native|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)
  * App/index(.native|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)
  5 | import {AppRegistry} from 'react-native';
> 6 | import App from './App';
    |                  ^
  7 | import {name as appName} from './app.json';
  8 |
  9 | AppRegistry.registerComponent(appName, () => App);.
  4 |
  5 | import {AppRegistry} from 'react-native';
> 6 | import App from './App';
    |                  ^
  7 | import {name as appName} from './app.json';
  8 |
  9 | AppRegistry.registerComponent(appName, () => App);
    at ModuleResolver.resolveDependency (/Volumes/KINGSTON_DISK/www/taro-app-shell/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:152:15)
    at DependencyGraph.resolveDependency (/Volumes/KINGSTON_DISK/www/taro-app-shell/node_modules/metro/src/node-haste/DependencyGraph.js:264:43)
    at Object.resolve (/Volumes/KINGSTON_DISK/www/taro-app-shell/node_modules/metro/src/lib/transformHelpers.js:170:21)
    at resolveDependencies (/Volumes/KINGSTON_DISK/www/taro-app-shell/node_modules/metro/src/DeltaBundler/graphOperations.js:466:33)
    at processModule (/Volumes/KINGSTON_DISK/www/taro-app-shell/node_modules/metro/src/DeltaBundler/graphOperations.js:232:31)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async traverseDependenciesForSingleFile (/Volumes/KINGSTON_DISK/www/taro-app-shell/node_modules/metro/src/DeltaBundler/graphOperations.js:221:3)
    at async Promise.all (index 0)
    at async initialTraverseDependencies (/Volumes/KINGSTON_DISK/www/taro-app-shell/node_modules/metro/src/DeltaBundler/graphOperations.js:204:3)
    at async DeltaCalculator._getChangedDependencies (/Volumes/KINGSTON_DISK/www/taro-app-shell/node_modules/metro/src/DeltaBundler/DeltaCalculator.js:208:25)
info Run CLI with --verbose flag for more details.

> Task :app:bundleReleaseJsAndAssets FAILED

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:bundleReleaseJsAndAssets'.
> Process 'command 'node'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
java.lang.StackOverflowError (no error message)

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings

Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.

BUILD FAILED in 1m 11s
799 actionable tasks: 31 executed, 768 up-to-date

可以发现在 壳工程 执行打包 apk 命令时会再次执行类似 yarn build:rn --platform android 的行为,从而把我从源工程打包的文件覆盖掉。请问有什么办法解决吗?

0.66.0 安卓启动失败

环境:win7
执行操作:
1.拉取0.66.0分支代码
2.执行npm i 安装依赖
3.执行npm run android启动

输出如下:
npm run android

[email protected] android F:\Taro\taro-native-shell
react-native run-android

info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 1356 file(s) to forward-jetify. Using 8 workers...
info Starting JS server...
info Launching emulator...
error Failed to launch emulator. Reason: No emulators found as an output of emulator -list-avds.
warn Please launch an emulator manually or connect a device. Otherwise app may fail to launch.
info Installing the app...

Configure project :app

Installing unimodules:
[email protected] from F:\Taro\taro-native-shell\node_modules@unimodules\core
[email protected] from F:\Taro\taro-native-shell\node_modules@unimodules\react-native-adapter
[email protected] from F:\Taro\taro-native-shell\node_modules\expo-av
[email protected] from F:\Taro\taro-native-shell\node_modules\expo-barcode-scanner
[email protected] from F:\Taro\taro-native-shell\node_modules\expo-brightness
[email protected] from F:\Taro\taro-native-shell\node_modules\expo-camera
[email protected] from F:\Taro\taro-native-shell\node_modules\expo-constants
[email protected] from F:\Taro\taro-native-shell\node_modules\expo-file-system
[email protected] from F:\Taro\taro-native-shell\node_modules\expo-image-loader
[email protected] from F:\Taro\taro-native-shell\node_modules\expo-image-picker
[email protected] from F:\Taro\taro-native-shell\node_modules\expo-keep-awake
[email protected] from F:\Taro\taro-native-shell\node_modules\expo-location
[email protected] from F:\Taro\taro-native-shell\node_modules\expo-modules-core
[email protected] from F:\Taro\taro-native-shell\node_modules\expo-permissions
[email protected] from F:\Taro\taro-native-shell\node_modules\expo-sensors
[email protected] from F:\Taro\taro-native-shell\node_modules\unimodules-app-loader
[email protected] from F:\Taro\taro-native-shell\node_modules\unimodules-task-manager-interface
task ':app:processDebugManifest'
WARNING:: The specified Android SDK Build Tools version (28.0.3) is ignored, as it is below the minimum supported version (30.0.2) for Android Gradle Plugin 4.2.2.
Android SDK Build Tools 30.0.2 will be used.
To suppress this warning, remove "buildToolsVersion '28.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

Task :expo-file-system:processDebugManifest
F:\Taro\taro-native-shell\node_modules\expo-file-system\android\src\main\AndroidManifest.xml:8:9-10:20 Warning:
provider#expo.modules.filesystem.FileSystemFileProvider@android:authorities was tagged at AndroidManifest.xml:8 to replace other declarations but no other declaration present

Task :unimodules-core:compileDebugKotlin
Could not connect to kotlin daemon. Using fallback strategy.

Task :unimodules-core:compileDebugJavaWithJavac

Task :react-native-async-storage_async-storage:compileDebugJavaWithJavac

Task :react-native-community_cameraroll:compileDebugJavaWithJavac

Task :expo-av:compileDebugKotlin
w: F:\Taro\taro-native-shell\node_modules\expo-av\android\src\main\java\expo\modules\av\progress\AndroidLooperTimeMachine.kt: (8, 5): 'constructor Handler()' is deprecated. Deprecated in Java

Task :expo-av:compileDebugJavaWithJavac

Task :expo-barcode-scanner:compileDebugJavaWithJavac

Task :expo-camera:compileDebugJavaWithJavac

Task :expo-constants:compileDebugJavaWithJavac

Task :expo-file-system:compileDebugJavaWithJavac

Task :expo-image-loader:compileDebugKotlin
w: F:\Taro\taro-native-shell\node_modules\expo-image-loader\android\src\main\java\expo\modules\imageloader\ImageLoaderModule.kt: (6, 19): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java
w: F:\Taro\taro-native-shell\node_modules\expo-image-loader\android\src\main\java\expo\modules\imageloader\ImageLoaderModule.kt: (11, 42): 'SimpleTarget<Z : Any!>' is deprecated. Deprecated in Java
w: F:\Taro\taro-native-shell\node_modules\expo-image-loader\android\src\main\java\expo\modules\imageloader\ImageLoaderModule.kt: (60, 7): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java
w: F:\Taro\taro-native-shell\node_modules\expo-image-loader\android\src\main\java\expo\modules\imageloader\ImageLoaderModule.kt: (60, 17): 'THREAD_POOL_EXECUTOR: Executor!' is deprecated. Deprecated in Java
w: F:\Taro\taro-native-shell\node_modules\expo-image-loader\android\src\main\java\expo\modules\imageloader\ImageLoaderModule.kt: (82, 22): 'SimpleTarget<Z : Any!>' is deprecated. Deprecated in Java

Task :expo-image-picker:compileDebugKotlin
w: F:\Taro\taro-native-shell\node_modules\expo-image-picker\android\src\main\java\expo\modules\imagepicker\ImagePickerConstants.kt: (97, 34): 'TAG_ISO_SPEED_RATINGS: String' is deprecated. Deprecated in Java
w: F:\Taro\taro-native-shell\node_modules\expo-image-picker\android\src\main\java\expo\modules\imagepicker\ImagePickerModule.kt: (342, 123): 'execute(vararg Void?): AsyncTask<Void?, Void?, Void?>!' is deprecated. Deprecated in Java
w: F:\Taro\taro-native-shell\node_modules\expo-image-picker\android\src\main\java\expo\modules\imagepicker\ImagePickerModule.kt: (371, 147): 'execute(vararg Void?): AsyncTask<Void?, Void?, Void?>!' is deprecated. Deprecated in Java
w: F:\Taro\taro-native-shell\node_modules\expo-image-picker\android\src\main\java\expo\modules\imagepicker\ImagePickerModule.kt: (379, 119): 'execute(vararg Void?): AsyncTask<Void?, Void?, Void?>!' is deprecated. Deprecated in Java
w: F:\Taro\taro-native-shell\node_modules\expo-image-picker\android\src\main\java\expo\modules\imagepicker\tasks\ImageResultTask.kt: (5, 19): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java
w: F:\Taro\taro-native-shell\node_modules\expo-image-picker\android\src\main\java\expo\modules\imagepicker\tasks\ImageResultTask.kt: (26, 3): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java
w: F:\Taro\taro-native-shell\node_modules\expo-image-picker\android\src\main\java\expo\modules\imagepicker\tasks\ImageResultTask.kt: (26, 3): 'constructor AsyncTask<Params : Any!, Progress : Any!, Result : Any!>()' is deprecated. Deprecated in Java
w: F:\Taro\taro-native-shell\node_modules\expo-image-picker\android\src\main\java\expo\modules\imagepicker\tasks\VideoResultTask.kt: (6, 19): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java
w: F:\Taro\taro-native-shell\node_modules\expo-image-picker\android\src\main\java\expo\modules\imagepicker\tasks\VideoResultTask.kt: (23, 3): 'AsyncTask<Params : Any!, Progress : Any!, Result : Any!>' is deprecated. Deprecated in Java
w: F:\Taro\taro-native-shell\node_modules\expo-image-picker\android\src\main\java\expo\modules\imagepicker\tasks\VideoResultTask.kt: (23, 3): 'constructor AsyncTask<Params : Any!, Progress : Any!, Result : Any!>()' is deprecated. Deprecated in Java

Task :expo-keep-awake:compileDebugKotlin FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings
359 actionable tasks: 348 executed, 11 up-to-date
Compilation with Kotlin compile daemon was not successful
java.rmi.UnexpectedException: unexpected exception; nested exception is:
java.io.FileNotFoundException: F:\Taro\taro-native-shell\node_modules@unimodules\core\android\build\kotlin\compileDebugKotlin\dirty-sources.txt (�ܾ����ʡ�)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:245)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
at com.sun.proxy.$Proxy118.compile(Unknown Source)
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.incrementalCompilationWithDaemon(GradleKotlinCompilerWork.kt:289)
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.compileWithDaemon(GradleKotlinCompilerWork.kt:202)
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.compileWithDaemonOrFallbackImpl(GradleKotlinCompilerWork.kt:141)
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.run(GradleKotlinCompilerWork.kt:124)
at org.jetbrains.kotlin.compilerRunner.GradleCompilerRunner.runCompilerAsync(GradleKotlinCompilerRunner.kt:173)
at org.jetbrains.kotlin.compilerRunner.GradleCompilerRunner.runCompilerAsync(GradleKotlinCompilerRunner.kt:168)
at org.jetbrains.kotlin.compilerRunner.GradleCompilerRunner.runJvmCompilerAsync(GradleKotlinCompilerRunner.kt:87)
at org.jetbrains.kotlin.gradle.tasks.KotlinCompile.callCompilerAsync$kotlin_gradle_plugin(Tasks.kt:530)
at org.jetbrains.kotlin.gradle.tasks.KotlinCompile.callCompilerAsync$kotlin_gradle_plugin(Tasks.kt:455)
at org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile.executeImpl(Tasks.kt:376)
at org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile.execute(Tasks.kt:340)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
at org.gradle.api.internal.project.taskfactory.IncrementalTaskInputsTaskAction.doExecute(IncrementalTaskInputsTaskAction.java:47)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
at org.gradle.api.internal.project.taskfactory.AbstractIncrementalTaskAction.execute(AbstractIncrementalTaskAction.java:25)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$2.run(ExecuteActionsTaskExecuter.java:494)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:479)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:462)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.access$400(ExecuteActionsTaskExecuter.java:105)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.executeWithPreviousOutputFiles(ExecuteActionsTaskExecuter.java:273)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.execute(ExecuteActionsTaskExecuter.java:251)
at org.gradle.internal.execution.steps.ExecuteStep.lambda$executeOperation$0(ExecuteStep.java:65)
at java.util.Optional.map(Optional.java:215)
at org.gradle.internal.execution.steps.ExecuteStep.executeOperation(ExecuteStep.java:65)
at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:34)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:47)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:44)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:44)
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:34)
at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:72)
at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:42)
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:53)
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:39)
at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:44)
at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:77)
at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:58)
at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:54)
at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:32)
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:57)
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:38)
at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:63)
at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:30)
at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:176)
at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:76)
at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:47)
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:43)
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:32)
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:39)
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:25)
at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:102)
at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$0(SkipUpToDateStep.java:95)
at java.util.Optional.map(Optional.java:215)
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:55)
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:39)
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:83)
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:44)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27)
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:96)
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:52)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:83)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:54)
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:74)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.lambda$execute$2(SkipEmptyWorkStep.java:88)
at java.util.Optional.orElseGet(Optional.java:267)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:88)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:34)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)
at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:46)
at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:34)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:43)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution$3.withWorkspace(ExecuteActionsTaskExecuter.java:286)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:43)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:33)
at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:40)
at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:30)
at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:54)
at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:40)
at org.gradle.internal.execution.impl.DefaultExecutionEngine.execute(DefaultExecutionEngine.java:41)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:183)
at java.util.Optional.orElseGet(Optional.java:267)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:183)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:173)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:109)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:62)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:41)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:411)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:398)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:391)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:377)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.FileNotFoundException: F:\Taro\taro-native-shell\node_modules@unimodules\core\android\build\kotlin\compileDebugKotlin\dirty-sources.txt (�ܾ����ʡ�)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.(FileOutputStream.java:213)
at java.io.FileOutputStream.(FileOutputStream.java:162)
at kotlin.io.FilesKt__FileReadWriteKt.writeBytes(FileReadWrite.kt:108)
at kotlin.io.FilesKt__FileReadWriteKt.writeText(FileReadWrite.kt:134)
at kotlin.io.FilesKt__FileReadWriteKt.writeText$default(FileReadWrite.kt:134)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compileIncrementally(IncrementalCompilerRunner.kt:237)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.access$compileIncrementally(IncrementalCompilerRunner.kt:38)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner$compile$2.invoke(IncrementalCompilerRunner.kt:80)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compile(IncrementalCompilerRunner.kt:101)
at org.jetbrains.kotlin.daemon.CompileServiceImplBase.execIncrementalCompiler(CompileServiceImpl.kt:602)
at org.jetbrains.kotlin.daemon.CompileServiceImplBase.access$execIncrementalCompiler(CompileServiceImpl.kt:93)
at org.jetbrains.kotlin.daemon.CompileServiceImpl.compile(CompileServiceImpl.kt:1644)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:346)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
... 145 more

ע: ijЩ�����ļ�ʹ����δ�������ȫ�IJ�����
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:unchecked ���±��롣
ע: F:\Taro\taro-native-shell\node_modules@react-native-async-storage\async-storage\android\src\main\java\com\reactnativecommunity\asyncstorage\AsyncStorageModule.javaʹ�û�����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
ע: F:\Taro\taro-native-shell\node_modules@react-native-async-storage\async-storage\android\src\main\java\com\reactnativecommunity\asyncstorage\AsyncStoragePackage.javaʹ����δ�������ȫ�IJ�����
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:unchecked ���±��롣
ע: F:\Taro\taro-native-shell\node_modules@react-native-community\cameraroll\android\src\main\java\com\reactnativecommunity\cameraroll\CameraRollModule.javaʹ�û�����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
ע: ijЩ�����ļ�ʹ�û�����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
ע: F:\Taro\taro-native-shell\node_modules\expo-av\android\src\main\java\expo\modules\av\player\PlayerData.javaʹ����δ�������ȫ�IJ����� ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:unchecked ���±��롣
ע: ijЩ�����ļ�ʹ�û�����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
ע: ijЩ�����ļ�ʹ�û�����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
ע: F:\Taro\taro-native-shell\node_modules\expo-constants\android\src\main\java\expo\modules\constants\ConstantsService.javaʹ�û�����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
ע: F:\Taro\taro-native-shell\node_modules\expo-file-system\android\src\main\java\expo\modules\filesystem\FileSystemModule.javaʹ�û�����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
ע: F:\Taro\taro-native-shell\node_modules\expo-file-system\android\src\main\java\expo\modules\filesystem\FileSystemModule.javaʹ����δ�������ȫ�IJ�����
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:unchecked ���±��롣
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (6, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (7, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (8, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (9, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (10, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (11, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (15, 64): Unresolved reference: ModuleRegistryDelegate
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (15, 89): Unresolved reference: ModuleRegistryDelegate
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (15, 117): Unresolved reference: KeepAwakeManager
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (15, 135): Unresolved reference: InternalModule
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (20, 3): 'onCreate' overrides nothing
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (20, 41): Unresolved reference: ModuleRegistry
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (24, 15): Unresolved reference: CurrentActivityNotFoundException
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (24, 15): An annotation argument must be a compile-time constant
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (27, 29): Unresolved reference: ActivityProvider
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (27, 49): Not enough information to infer type variable T
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (31, 15): Unresolved reference: CurrentActivityNotFoundException
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (35, 11): Unresolved reference: CurrentActivityNotFoundException
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (35, 11): An annotation argument must be a compile-time constant
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (36, 3): 'activate' overrides nothing
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (38, 10): Function invocation 'isActivated()' expected
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (45, 11): Unresolved reference: CurrentActivityNotFoundException
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (45, 11): An annotation argument must be a compile-time constant
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (46, 3): 'deactivate' overrides nothing
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (55, 3): 'isActivated' overrides nothing
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (59, 3): 'getExportedInterfaces' overrides nothing
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (60, 19): Unresolved reference: KeepAwakeManager
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (6, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (7, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (8, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (9, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (10, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (11, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (12, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (19, 39): Unresolved reference: ModuleRegistryDelegate
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (19, 64): Unresolved reference: ModuleRegistryDelegate
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (20, 5): Unresolved reference: ExportedModule
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (22, 33): Unresolved reference: KeepAwakeManager
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (22, 53): Not enough information to infer type variable T
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (26, 3): 'onCreate' overrides nothing
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (26, 41): Unresolved reference: ModuleRegistry
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (30, 3): 'getName' overrides nothing
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (34, 4): Unresolved reference: ExpoMethod
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (35, 38): Unresolved reference: Promise
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (38, 18): Unresolved reference: CurrentActivityNotFoundException
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (43, 4): Unresolved reference: ExpoMethod
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (44, 40): Unresolved reference: Promise
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (47, 18): Unresolved reference: CurrentActivityNotFoundException
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakePackage.kt: (5, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakePackage.kt: (6, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakePackage.kt: (7, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakePackage.kt: (9, 26): This type has a constructor, and thus must be initialized here
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakePackage.kt: (10, 3): 'createExportedModules' overrides nothing
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakePackage.kt: (10, 62): Unresolved reference: ExportedModule
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakePackage.kt: (14, 3): 'createInternalModules' overrides nothing
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakePackage.kt: (14, 62): Unresolved reference: InternalModule

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':expo-keep-awake:compileDebugKotlin'.

Compilation error. See log for more details

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1m 6s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
Compilation with Kotlin compile daemon was not successful
java.rmi.UnexpectedException: unexpected exception; nested exception is:
java.io.FileNotFoundException: F:\Taro\taro-native-shell\node_modules@unimodules\core\android\build\kotlin\compileDebugKotlin\dirty-sources.txt (�ܾ����ʡ�)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:245)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
at com.sun.proxy.$Proxy118.compile(Unknown Source)
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.incrementalCompilationWithDaemon(GradleKotlinCompilerWork.kt:289)
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.compileWithDaemon(GradleKotlinCompilerWork.kt:202)
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.compileWithDaemonOrFallbackImpl(GradleKotlinCompilerWork.kt:141)
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.run(GradleKotlinCompilerWork.kt:124)
at org.jetbrains.kotlin.compilerRunner.GradleCompilerRunner.runCompilerAsync(GradleKotlinCompilerRunner.kt:173)
at org.jetbrains.kotlin.compilerRunner.GradleCompilerRunner.runCompilerAsync(GradleKotlinCompilerRunner.kt:168)
at org.jetbrains.kotlin.compilerRunner.GradleCompilerRunner.runJvmCompilerAsync(GradleKotlinCompilerRunner.kt:87)
at org.jetbrains.kotlin.gradle.tasks.KotlinCompile.callCompilerAsync$kotlin_gradle_plugin(Tasks.kt:530)
at org.jetbrains.kotlin.gradle.tasks.KotlinCompile.callCompilerAsync$kotlin_gradle_plugin(Tasks.kt:455)
at org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile.executeImpl(Tasks.kt:376)
at org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile.execute(Tasks.kt:340)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
at org.gradle.api.internal.project.taskfactory.IncrementalTaskInputsTaskAction.doExecute(IncrementalTaskInputsTaskAction.java:47)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
at org.gradle.api.internal.project.taskfactory.AbstractIncrementalTaskAction.execute(AbstractIncrementalTaskAction.java:25)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$2.run(ExecuteActionsTaskExecuter.java:494)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:479)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:462)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.access$400(ExecuteActionsTaskExecuter.java:105)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.executeWithPreviousOutputFiles(ExecuteActionsTaskExecuter.java:273)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.execute(ExecuteActionsTaskExecuter.java:251)
at org.gradle.internal.execution.steps.ExecuteStep.lambda$executeOperation$0(ExecuteStep.java:65)
at java.util.Optional.map(Optional.java:215)
at org.gradle.internal.execution.steps.ExecuteStep.executeOperation(ExecuteStep.java:65)
at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:34)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:47)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:44)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:44)
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:34)
at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:72)
at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:42)
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:53)
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:39)
at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:44)
at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:77)
at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:58)
at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:54)
at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:32)
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:57)
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:38)
at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:63)
at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:30)
at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:176)
at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:76)
at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:47)
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:43)
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:32)
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:39)
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:25)
at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:102)
at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$0(SkipUpToDateStep.java:95)
at java.util.Optional.map(Optional.java:215)
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:55)
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:39)
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:83)
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:44)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27)
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:96)
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:52)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:83)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:54)
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:74)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.lambda$execute$2(SkipEmptyWorkStep.java:88)
at java.util.Optional.orElseGet(Optional.java:267)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:88)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:34)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)
at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:46)
at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:34)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:43)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution$3.withWorkspace(ExecuteActionsTaskExecuter.java:286)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:43)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:33)
at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:40)
at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:30)
at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:54)
at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:40)
at org.gradle.internal.execution.impl.DefaultExecutionEngine.execute(DefaultExecutionEngine.java:41)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:183)
at java.util.Optional.orElseGet(Optional.java:267)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:183)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:173)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:109)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:62)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:41)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:411)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:398)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:391)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:377)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.FileNotFoundException: F:\Taro\taro-native-shell\node_modules@unimodules\core\android\build\kotlin\compileDebugKotlin\dirty-sources.txt (�ܾ����ʡ�)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.(FileOutputStream.java:213)
at java.io.FileOutputStream.(FileOutputStream.java:162)
at kotlin.io.FilesKt__FileReadWriteKt.writeBytes(FileReadWrite.kt:108)
at kotlin.io.FilesKt__FileReadWriteKt.writeText(FileReadWrite.kt:134)
at kotlin.io.FilesKt__FileReadWriteKt.writeText$default(FileReadWrite.kt:134)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compileIncrementally(IncrementalCompilerRunner.kt:237)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.access$compileIncrementally(IncrementalCompilerRunner.kt:38)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner$compile$2.invoke(IncrementalCompilerRunner.kt:80)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compile(IncrementalCompilerRunner.kt:101)
at org.jetbrains.kotlin.daemon.CompileServiceImplBase.execIncrementalCompiler(CompileServiceImpl.kt:602)
at org.jetbrains.kotlin.daemon.CompileServiceImplBase.access$execIncrementalCompiler(CompileServiceImpl.kt:93)
at org.jetbrains.kotlin.daemon.CompileServiceImpl.compile(CompileServiceImpl.kt:1644)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:346)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
... 145 more

ע: ijЩ�����ļ�ʹ����δ�������ȫ�IJ�����
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:unchecked ���±��롣
ע: F:\Taro\taro-native-shell\node_modules@react-native-async-storage\async-storage\android\src\main\java\com\reactnativecommunity\asyncstorage\AsyncStorageModule.javaʹ�û�����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
ע: F:\Taro\taro-native-shell\node_modules@react-native-async-storage\async-storage\android\src\main\java\com\reactnativecommunity\asyncstorage\AsyncStoragePackage.javaʹ����δ�������ȫ�IJ�����
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:unchecked ���±��롣
ע: F:\Taro\taro-native-shell\node_modules@react-native-community\cameraroll\android\src\main\java\com\reactnativecommunity\cameraroll\CameraRollModule.javaʹ�û�����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
ע: ijЩ�����ļ�ʹ�û�����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
ע: F:\Taro\taro-native-shell\node_modules\expo-av\android\src\main\java\expo\modules\av\player\PlayerData.javaʹ����δ�������ȫ�IJ����� ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:unchecked ���±��롣
ע: ijЩ�����ļ�ʹ�û�����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
ע: ijЩ�����ļ�ʹ�û�����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
ע: F:\Taro\taro-native-shell\node_modules\expo-constants\android\src\main\java\expo\modules\constants\ConstantsService.javaʹ�û�����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
ע: F:\Taro\taro-native-shell\node_modules\expo-file-system\android\src\main\java\expo\modules\filesystem\FileSystemModule.javaʹ�û�����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
ע: F:\Taro\taro-native-shell\node_modules\expo-file-system\android\src\main\java\expo\modules\filesystem\FileSystemModule.javaʹ����δ�������ȫ�IJ�����
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:unchecked ���±��롣
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (6, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (7, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (8, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (9, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (10, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (11, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (15, 64): Unresolved reference: ModuleRegistryDelegate
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (15, 89): Unresolved reference: ModuleRegistryDelegate
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (15, 117): Unresolved reference: KeepAwakeManager
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (15, 135): Unresolved reference: InternalModule
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (20, 3): 'onCreate' overrides nothing
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (20, 41): Unresolved reference: ModuleRegistry
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (24, 15): Unresolved reference: CurrentActivityNotFoundException
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (24, 15): An annotation argument must be a compile-time constant
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (27, 29): Unresolved reference: ActivityProvider
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (27, 49): Not enough information to infer type variable T
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (31, 15): Unresolved reference: CurrentActivityNotFoundException
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (35, 11): Unresolved reference: CurrentActivityNotFoundException
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (35, 11): An annotation argument must be a compile-time constant
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (36, 3): 'activate' overrides nothing
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (38, 10): Function invocation 'isActivated()' expected
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (45, 11): Unresolved reference: CurrentActivityNotFoundException
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (45, 11): An annotation argument must be a compile-time constant
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (46, 3): 'deactivate' overrides nothing
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (55, 3): 'isActivated' overrides nothing
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (59, 3): 'getExportedInterfaces' overrides nothing
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\ExpoKeepAwakeManager.kt: (60, 19): Unresolved reference: KeepAwakeManager
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (6, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (7, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (8, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (9, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (10, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (11, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (12, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (19, 39): Unresolved reference: ModuleRegistryDelegate
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (19, 64): Unresolved reference: ModuleRegistryDelegate
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (20, 5): Unresolved reference: ExportedModule
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (22, 33): Unresolved reference: KeepAwakeManager
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (22, 53): Not enough information to infer type variable T
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (26, 3): 'onCreate' overrides nothing
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (26, 41): Unresolved reference: ModuleRegistry
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (30, 3): 'getName' overrides nothing
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (34, 4): Unresolved reference: ExpoMethod
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (35, 38): Unresolved reference: Promise
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (38, 18): Unresolved reference: CurrentActivityNotFoundException
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (43, 4): Unresolved reference: ExpoMethod
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (44, 40): Unresolved reference: Promise
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakeModule.kt: (47, 18): Unresolved reference: CurrentActivityNotFoundException
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakePackage.kt: (5, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakePackage.kt: (6, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakePackage.kt: (7, 21): Unresolved reference: core
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakePackage.kt: (9, 26): This type has a constructor, and thus must be initialized here
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakePackage.kt: (10, 3): 'createExportedModules' overrides nothing
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakePackage.kt: (10, 62): Unresolved reference: ExportedModule
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakePackage.kt: (14, 3): 'createInternalModules' overrides nothing
e: F:\Taro\taro-native-shell\node_modules\expo-keep-awake\android\src\main\java\expo\modules\keepawake\KeepAwakePackage.kt: (14, 62): Unresolved reference: InternalModule

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':expo-keep-awake:compileDebugKotlin'.

Compilation error. See log for more details

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1m 6s

at makeError (F:\Taro\taro-native-shell\node_modules\execa\index.js:174:9)
at F:\Taro\taro-native-shell\node_modules\execa\index.js:278:16
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async runOnAllDevices (F:\Taro\taro-native-shell\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:109:5)
at async Command.handleAction (F:\Taro\taro-native-shell\node_modules\react-native\node_modules\@react-native-community\cli\build\index.js:192:9)

info Run CLI with --verbose flag for more details.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] android: react-native run-android
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] android script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! D:\Users\li\AppData\Roaming\npm-cache_logs\2021-11-25T17_13_33_971Z-debug.log

react-native run-ios 报错

/Volumes/work/taro-native-shell/ios/Pods/TZImagePickerController/TZImagePickerController/TZImagePickerController/TZPhotoPickerController.m:87:45: error: property 'tertiarySystemBackgroundColor' not found on object of type 'UIColor'
self.view.backgroundColor = UIColor.tertiarySystemBackgroundColor;
^
/Volumes/work/taro-native-shell/ios/Pods/TZImagePickerController/TZImagePickerController/TZImagePickerController/TZPhotoPickerController.m:175:55: error: property 'tertiarySystemBackgroundColor' not found on object of type 'UIColor'
_collectionView.backgroundColor = UIColor.tertiarySystemBackgroundColor;
^
/Volumes/work/taro-native-shell/ios/Pods/TZImagePickerController/TZImagePickerController/TZImagePickerController/TZPhotoPickerController.m:239:50: error: property 'tertiarySystemBackgroundColor' not found on object of type 'UIColor'
_bottomToolBar.backgroundColor = UIColor.tertiarySystemBackgroundColor;
^
/Volumes/work/taro-native-shell/ios/Pods/TZImagePickerController/TZImagePickerController/TZImagePickerController/TZPhotoPickerController.m:250:47: error: property 'labelColor' not found on object of type 'UIColor'
[_previewButton setTitleColor:UIColor.labelColor forState:UIControlStateNormal];
^
/Volumes/work/taro-native-shell/ios/Pods/TZImagePickerController/TZImagePickerController/TZImagePickerController/TZPhotoPickerController.m:266:58: error: no known class method for selector 'labelColor'
[_originalPhotoButton setTitleColor:[UIColor labelColor] forState:UIControlStateSelected];
^~~~~~~~~~
/Volumes/work/taro-native-shell/ios/Pods/TZImagePickerController/TZImagePickerController/TZImagePickerController/TZPhotoPickerController.m:281:54: error: no known class method for selector 'labelColor'
_originalPhotoLabel.textColor = [UIColor labelColor];
^~~~~~~~~~
/Volumes/work/taro-native-shell/ios/Pods/TZImagePickerController/TZImagePickerController/TZImagePickerController/TZPhotoPickerController.m:315:47: error: no known class method for selector 'colorWithDynamicProvider:'
UIColor *divideLineDyColor = [UIColor colorWithDynamicProvider:^UIColor * _Nonnull(UITraitCollection * _Nonnull trainCollection) {
^~~~~~~~~~~~~~~~~~~~~~~~
7 errors generated.

Unknown arguments type '__attribute__' in method -[RCTUIManager set JSResponder:blockNativeResponder]

2019-12-18 17:57:48.753 [error][tid:com.facebook.react.ShadowQueue][RCTModuleMethod.mm:369] Unknown argument type '__attribute__' in method -[RCTUIManager setJSResponder:blockNativeResponder:]. Extend RCTConvert to support this type.
2019-12-18 17:57:48.756 [fatal][tid:com.facebook.react.ShadowQueue] Exception '*** -[__NSArrayM objectAtIndexedSubscript:]: index 1 beyond bounds [0 .. 0]' was thrown while invoking setJSResponder on target UIManager with params (
    2202,
    0
)
callstack: (
	0   CoreFoundation                      0x00007fff23c7127e __exceptionPreprocess + 350
	1   libobjc.A.dylib                     0x00007fff513fbb20 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff23d03ab1 _CFThrowFormattedException + 194
	3   CoreFoundation                      0x00007fff23b85749 -[__NSArrayM objectAtIndexedSubscript:] + 169
	4   taroDemo                            0x000000010340deff -[RCTModuleMethod processMethodSignature] + 13327
	5   taroDemo                            0x0000000103412e4d -[RCTModuleMethod invokeWithBridge:module:arguments:] + 189
	6   taroDemo                            0x00000001034be0f7 _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicE + 791
	7   taroDemo                            0x00000001034bdc03 _ZZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEiENK3$_0clEv + 131
	8   taroDemo                            0x00000001034bdb79 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 25
	9   libdispatch.dylib                   0x00000001041dddd4 _dispatch_call_block_and_release + 12
	10  libdispatch.dylib                   0x00000001041ded48 _dispatch_client_callout + 8
	11  libdispatch.dylib                   0x00000001041e55ef _dispatch_lane_serial_drain + 788
	12  libdispatch.dylib                   0x00000001041e617f _dispatch_lane_invoke + 422
	13  libdispatch.dylib                   0x00000001041f1a4e _dispatch_workloop_worker_thread + 719
	14  libsystem_pthread.dylib             0x00007fff5246371b _pthread_wqthread + 290
	15  libsystem_pthread.dylib             0x00007fff5246357b start_wqthread + 15
)

This error occored when the program is initialized or each time I touch the touchable component (such as Button, or ScrollView), and show a red screen

What can I do ?

error: /Volumes/CodeFile/小程序/ios/taro-native-shell-0.63.2/ios/Pods/Target Support Files/Pods-taroDemo/Pods-taroDemo.debug.xcconfig: unable to open file (in target "taroDemo" in project "taroDemo") (in target 'taroDemo' from project 'taroDemo')

➜  taro-native-shell-0.63.2 sudo react-native run-ios
info Found Xcode workspace "taroDemo.xcworkspace"
info Building (using "xcodebuild -workspace taroDemo.xcworkspace -configuration Debug -scheme taroDemo -destination id=21CF662E-9F43-49C0-A0D1-7F4DF6173814")
(node:59572) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening taroDemo.xcworkspace. Run CLI with --verbose flag for more details.
Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace taroDemo.xcworkspace -configuration Debug -scheme taroDemo -destination id=21CF662E-9F43-49C0-A0D1-7F4DF6173814

note: Using new build system
note: Building targets in parallel
note: Planning build
note: Using build description from disk
error: /Volumes/CodeFile/小程序/ios/taro-native-shell-0.63.2/ios/Pods/Target Support Files/Pods-taroDemo/Pods-taroDemo.debug.xcconfig: unable to open file (in target "taroDemo" in project "taroDemo") (in target 'taroDemo' from project 'taroDemo')
error: /Volumes/CodeFile/小程序/ios/taro-native-shell-0.63.2/ios/Pods/Target Support Files/Pods-taroDemo/Pods-taroDemo.debug.xcconfig: unable to open file (in target "taroDemo" in project "taroDemo") (in target 'taroDemo' from project 'taroDemo')
error: /Volumes/CodeFile/小程序/ios/taro-native-shell-0.63.2/ios/Pods/Target Support Files/Pods-taroDemo/Pods-taroDemo.debug.xcconfig: unable to open file (in target "taroDemo" in project "taroDemo") (in target 'taroDemo' from project 'taroDemo')
error: /Volumes/CodeFile/小程序/ios/taro-native-shell-0.63.2/ios/Pods/Target Support Files/Pods-taroDemo/Pods-taroDemo.debug.xcconfig: unable to open file (in target "taroDemo" in project "taroDemo") (in target 'taroDemo' from project 'taroDemo')
warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the taroDemo editor. (in target 'taroDemo' from project 'taroDemo')


** BUILD FAILED **



Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.