小编Har*_*ika的帖子

任务':app:processReleaseResources'的执行失败.

我正在运行示例应用程序.当我生成apk for android得到这样的错误......

FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':app:processReleaseResources'.
    > Failed to process resources, see aapt output above 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

    BUILD FAILED in 59s
    39 actionable tasks: 36 executed, 3 up-to-date
Run Code Online (Sandbox Code Playgroud)

请给我任何建议.谢谢.

react-native react-native-android

7
推荐指数
1
解决办法
1336
查看次数

在本机0.60中找不到用于签名配置'debug'的密钥库文件'/Project-Folder/android/app/debug.keystore'

我创建了一个带有本机版本0.60的示例应用程序。

我正在尝试在android中运行应用程序。但是我得到这个错误Keystore file '/Project-Folder/android/app/debug.keystore' not found for signing config 'debug'

我不知道如何解决此错误。

android react-native

7
推荐指数
2
解决办法
1019
查看次数

找不到support-v4.aar(com.android.support:support-v4:25.2.0)

我正在运行示例应用程序......我正在使用模块.....但我得到这样的错误...

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> A problem occurred configuring project ':react-native-google-analytics-bridge'.
   > Could not find support-v4.aar (com.android.support:support-v4:25.2.0).
     Searched in the following locations:
         https://jcenter.bintray.com/com/android/support/support-v4/25.2.0/support-v4-25.2.0.aar
Run Code Online (Sandbox Code Playgroud)

我的模块版本是:"react-native-google-analytics-bridge":"^ 5.2.2"

这是截图: 在此输入图像描述

react-native

6
推荐指数
1
解决办法
370
查看次数

警报未显示....单击推送通知时

我正在运行示例应用程序.....我正在使用模块进行推送通知.....我的问题是在清除应用程序实例后单击推送通知时...在onNotification()控制台上打印但是警报没有显示....甚至试图保持警报的时间,但它不起作用.....这是一个问题是获得唯一的iOS .......请给出任何建议. ......

onNotification: notification => {
    console.log('NOTIFICATION:', notification)
        if(notification.notificationType === XXX){
         alert('NOTIFICATION:'+JSON.stringify(notification))
         }
   }
Run Code Online (Sandbox Code Playgroud)

react-native react-native-push-notification

5
推荐指数
0
解决办法
187
查看次数

您上传了在React-native中以调试模式签名的APK或Android应用程序捆绑包

我正在尝试将我的AAB文件上传到Google Play商店,我按照此https://facebook.github.io/react-native/docs/signed-apk-android生成.aab文件,但是我正在获取此文件错误您上传了在调试模式下签名的APK或Android应用程序捆绑包。您需要在发布模式下签署APK或Android应用程序捆绑包。

android react-native

5
推荐指数
2
解决办法
381
查看次数