简体   繁体   English

meteor 移动应用程序不适用于 android 9 和 10

[英]meteor mobile app does not work on android 9 and 10

I made a mobile app from a meteor project.我从 meteor 项目制作了一个移动应用程序。 The app works well on Android 7 and 8.该应用程序在 Android 7 和 8 上运行良好。

But it does not work on Android 9 and 10. The login page is displayed on the mobile but I can not login.但它在Android 9和10上不起作用。登录页面显示在手机上但我无法登录。 It seems that the request is not sent to the server and after clicking on the login, the loading mode remains.似乎请求没有发送到服务器,点击登录后,加载模式仍然存在。

在此处输入图像描述

I have installed version 29 of the SDK on the system.我在系统上安装了 SDK 的 29 版本。 And here is my mobile-config.js.这是我的 mobile-config.js。

App.info({
  id: 'com.marco.android.karname',
  name: 'karname',
  description: 'Debug mode',
  author: 'Matt Development Group',
  email: 'contact@example.com',
  website: 'http://example.com',
  version: "0.0.3"
});

App.icons({
  'android_xxhdpi': 'resources/icons/en-logo.png',
});

App.launchScreens({
  'android_mdpi_portrait': 'resources/icons/sample.png',
});

App.setPreference('BackgroundColor', '0xff0000ff');
App.setPreference('HideKeyboardFormAccessoryBar', true);
App.setPreference('Orientation', 'default');
App.setPreference('Orientation', 'all', 'ios');

App.setPreference('android-targetSdkVersion', '30');
App.setPreference('android-minSdkVersion', '24');

App.appendToConfig(`
  <universal-links>
    <host name="http://192.168.0.66" />
  </universal-links>
`);

and here is my logcat:这是我的 logcat:

..
2020-10-07 19:08:03.096 2157-3396/? E/aofp: Phenotype API error. Event # bybz@5dc8807f, EventCode: 12 [CONTEXT service_id=51 ]
    aoeg: 29503
        at aofv.b(:com.google.android.gms@17786022@17.7.86 (040700-256199907):23)
        at aofp.a(:com.google.android.gms@17786022@17.7.86 (040700-256199907):92)
        at aofp.a(:com.google.android.gms@17786022@17.7.86 (040700-256199907):79)
        at aale.run(:com.google.android.gms@17786022@17.7.86 (040700-256199907):19)
        at bkdz.run(:com.google.android.gms@17786022@17.7.86 (040700-256199907):2)
        at squ.b(:com.google.android.gms@17786022@17.7.86 (040700-256199907):37)
        at squ.run(:com.google.android.gms@17786022@17.7.86 (040700-256199907):21)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at swz.run(Unknown Source:7)
        at java.lang.Thread.run(Thread.java:919)
2020-10-07 19:08:03.099 2157-3396/? E/AsyncOperation: serviceID=51, operation=GetCommittedConfigurationOperationCall
    OperationException[Status{statusCode=unknown status code: 29503, resolution=null}]
        at aofp.a(:com.google.android.gms@17786022@17.7.86 (040700-256199907):100)
        at aofp.a(:com.google.android.gms@17786022@17.7.86 (040700-256199907):79)
        at aale.run(:com.google.android.gms@17786022@17.7.86 (040700-256199907):19)
        at bkdz.run(:com.google.android.gms@17786022@17.7.86 (040700-256199907):2)
        at squ.b(:com.google.android.gms@17786022@17.7.86 (040700-256199907):37)
        at squ.run(:com.google.android.gms@17786022@17.7.86 (040700-256199907):21)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at swz.run(Unknown Source:7)
        at java.lang.Thread.run(Thread.java:919)
2020-10-07 19:08:03.100 2157-3786/? E/NetRec: [88] alcj.a: Could not retrieve server token for package com.google.android.apps.gcs
    java.util.concurrent.ExecutionException: rjk: 29503: 
        at avgu.b(:com.google.android.gms@17786022@17.7.86 (040700-256199907):3)
        at avgu.a(:com.google.android.gms@17786022@17.7.86 (040700-256199907):20)
        at alcj.a(:com.google.android.gms@17786022@17.7.86 (040700-256199907):1)
        at alcj.a(:com.google.android.gms@17786022@17.7.86 (040700-256199907):4)
        at alce.getHeaders(:com.google.android.gms@17786022@17.7.86 (040700-256199907):2)
        at com.android.volley.toolbox.HttpClientStack.performRequest(:com.google.android.gms@17786022@17.7.86 (040700-256199907):9)
        at sjg.performRequest(:com.google.android.gms@17786022@17.7.86 (040700-256199907):1)
        at byj.executeRequest(:com.google.android.gms@17786022@17.7.86 (040700-256199907):1)
        at com.android.volley.toolbox.BasicNetwork.performRequest(:com.google.android.gms@17786022@17.7.86 (040700-256199907):5)
        at sjj.performRequest(:com.google.android.gms@17786022@17.7.86 (040700-256199907):13)
        at com.android.volley.NetworkDispatcher.a(:com.google.android.gms@17786022@17.7.86 (040700-256199907):7)
        at com.android.volley.NetworkDispatcher.run(:com.google.android.gms@17786022@17.7.86 (040700-256199907):2)
     Caused by: rjk: 29503: 
        at rpj.a(:com.google.android.gms@17786022@17.7.86 (040700-256199907):4)
        at aodi.b(:com.google.android.gms@17786022@17.7.86 (040700-256199907):2)
        at aofv.a(:com.google.android.gms@17786022@17.7.86 (040700-256199907):6)
        at aale.run(:com.google.android.gms@17786022@17.7.86 (040700-256199907):30)
        at bkdz.run(:com.google.android.gms@17786022@17.7.86 (040700-256199907):2)
        at squ.b(:com.google.android.gms@17786022@17.7.86 (040700-256199907):37)
        at squ.run(:com.google.android.gms@17786022@17.7.86 (040700-256199907):21)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at swz.run(Unknown Source:7)
        at java.lang.Thread.run(Thread.java:919)
2020-10-07 19:08:03.100 2157-3786/? W/NetRec: [88] alcj.a: No server tokens extracted.
2020-10-07 19:08:03.107 12822-12869/com.marco.android.karname D/eglCodecCommon: setVertexArrayObject: set vao to 1 (1) 1 6
2020-10-07 19:08:03.111 12822-12869/com.marco.android.karname D/eglCodecCommon: setVertexArrayObject: set vao to 0 (0) 1 2
2020-10-07 19:08:03.128 12822-12869/com.marco.android.karname D/eglCodecCommon: setVertexArrayObject: set vao to 1 (1) 1 6
2020-10-07 19:08:03.131 12822-12869/com.marco.android.karname D/eglCodecCommon: setVertexArrayObject: set vao to 0 (0) 1 2
..


..
2020-10-07 19:10:58.926 12822-12869/com.marco.android.karname D/eglCodecCommon: setVertexArrayObject: set vao to 1 (1) 1 6
2020-10-07 19:10:58.933 12822-12869/com.marco.android.karname D/eglCodecCommon: setVertexArrayObject: set vao to 0 (0) 1 2
2020-10-07 19:10:58.936 1747-2376/? E/GnssHAL_GnssInterface: gnssSvStatusCb: a: input svInfo.flags is 8
2020-10-07 19:10:58.936 1747-2376/? E/GnssHAL_GnssInterface: gnssSvStatusCb: b: input svInfo.flags is 8
2020-10-07 19:10:58.983 12822-12869/com.marco.android.karname D/eglCodecCommon: setVertexArrayObject: set vao to 1 (1) 1 6
2020-10-07 19:10:58.986 12822-12869/com.marco.android.karname D/eglCodecCommon: setVertexArrayObject: set vao to 0 (0) 1 2
..

According to this answer , I reduced the targetSdkVersion version from 30 to 27 in mobile-config.js.根据这个答案,我在mobile-config.js中将targetSdkVersion版本从30降低到27。 And now it is working.现在它正在工作。

App.setPreference('android-targetSdkVersion', '27');
App.setPreference('android-minSdkVersion', '24');

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 屏幕录制应用程序在 Android 10 上不起作用 - Screen recording app does not work on Android 10 在物理Android设备上运行Meteor移动应用 - Running Meteor mobile app on physical Android device Google Login 不适用于 AWS Mobile Hub 生成的 Android 应用程序 - Google Login does not work with AWS Mobile Hub generated Android app Android / Java / Appium - 向下滑动(滚动)不起作用[移动应用] - Android / Java / Appium - Swipe (Scroll) Down does not work [Mobile App] 在android设备上运行流星移动项目[Windows 10] - Run meteor mobile project on android device [Windows 10] 谷歌登录不适用于使用电容器生成的离子 android 移动应用程序 - 抛出异常为 10 - google sign in does not work on ionic android mobile application generated using capacitor - exception thrown as 10 Meteor支持的最低Android版本是多少? (适用于cordova移动应用) - What is the minimum Android version supported by Meteor? (for cordova mobile app) ionic5 电容器应用程序适用于 android 7、8 的较低版本,但不适用于 android 10 - ionic5 capacitor app works on lower versions of android 7, 8 but does not work on android 10 我的 android 应用程序在模拟器上运行并在 android 设备上运行,但在移动设备上无法登录页面 - my android app run on emulator and run on android devices but does not login page work in mobile devices jQuery Mobile App-导航并不总是有效 - Jquery Mobile App - navigation does not work always
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM