尝试使用 android 运行我的 react-native 应用程序时出现以下错误,我不确定为什么,有什么想法吗?
*其中:构建文件“/Users/ahmeeyagoldman/Documents/TikTok/android/app/build.gradle”行:123
没有方法签名:build_26i9j525hbm41pwpexiy08g68.android() 适用于参数类型:(build_26i9j525hbm41pwpexiy08g68$_run_closure1) 值:[build_26i9j525hbm41pwpexiy08g68.android() 文件:My
到目前为止,我已尝试:
如果我尝试另一个项目,我可以使用 react-native 运行一个 android 应用程序,但这个项目抛出错误。需要注意的事情我不确定这是否重要,但这与 AWS 相关。
apply plugin: "com.android.application"
import com.android.build.OutputFile
/**
* The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
* and bundleReleaseJsAndAssets).
* These basically call `react-native bundle` with the correct arguments during the Android build
* cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
* bundle directly from the development …
Run Code Online (Sandbox Code Playgroud)android method-signature build.gradle android-gradle-plugin react-native