小编pet*_*mir的帖子

反应原生android构建版本代码未更新

我已经在 android\app\build.gradle 文件中编辑了 versionCode:

versionCode 2
versionName "2.0"
Run Code Online (Sandbox Code Playgroud)

我已经更新了 AndroidManifest.xml 文件

package="com.reactnativeapp"
android:versionCode="2"
android:versionName="2.0"
Run Code Online (Sandbox Code Playgroud)

但是当我尝试在 google play 商店上发布我的应用程序更新时,我仍然收到这个错误!

You need to use a different version code for your APK or Android App Bundle 
because you already have one with version code 1.
Run Code Online (Sandbox Code Playgroud)

我试过跑步

gradlew clean 
Run Code Online (Sandbox Code Playgroud)

在 android 文件夹中并重建项目,但没有任何效果。有没有人有任何想法?

android react-native

5
推荐指数
1
解决办法
2658
查看次数

LinkedIn oauth 错误缺少必需的参数“client_id”

所以我只是从 LinkedIn oauth 1.0 升级到 2.0 并且我已经收到这个错误大约一天了。我在 php 上看到了一篇关于它的帖子,但我无法在 Node JS(Javascript)中弄清楚这是我当前的代码:

axios
    .post("https://www.linkedin.com/oauth/v2/accessToken", {
      grant_type: "authorization_code",
      code: req.query.code,
      redirect_uri: keys.linkedinCallbackURL,
      client_id: keys.linkedinConsumerKey,
      client_secret: keys.linkedinConsumerSecret
    })
    .then(res2 => {
      console.log(res2);
    })
    .catch(error => {
      console.log(error);
    });
Run Code Online (Sandbox Code Playgroud)

如果您有任何想法,请告诉我 :)

链接到 php 解决方案:LinkedIn OAuth a required parameter "clien_id" is missing

LinkedIn 指南链接:https : //developer.linkedin.com/docs/oauth2 (第 3 步发生错误)

javascript linkedin node.js axios

4
推荐指数
1
解决办法
2441
查看次数

标签 统计

android ×1

axios ×1

javascript ×1

linkedin ×1

node.js ×1

react-native ×1