Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

com.android.build.api.transform.TransformException: Error while generating the main dex list #2857

Closed
2 of 10 tasks
nicoara opened this issue Nov 11, 2019 · 20 comments
Closed
2 of 10 tasks

Comments

@nicoara
Copy link

nicoara commented Nov 11, 2019

Issue

🔥

at react-native run-android, i get the following error:
com.android.build.api.transform.TransformException: Error while generating the main dex list


Project Files

iOS

Click To Expand

ios/Podfile:

  • I'm not using Pods
  • I'm using Pods and my Podfile looks like:
# N/A

AppDelegate.m:

// N/A


Android

Click To Expand

Have you converted to AndroidX?

  • my application is an AndroidX application?
  • I am using android/gradle.settings jetifier=true for Android compatibility?
  • I am using the NPM package jetifier for react-native compatibility?

android/build.gradle:

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    ext {
        buildToolsVersion = "28.0.3"
        minSdkVersion = 16
        compileSdkVersion = 28
        targetSdkVersion = 28
        supportLibVersion = "28.0.0"
        googlePlayServicesVersion = "15.0.1"
        androidMapsUtilsVersion = "0.5+"
    }
    repositories {
        google() // <-- Add this line above jcenter (Firebase)
        jcenter()
        mavenCentral()

        // Required for Crashlytics
        maven { url 'https://maven.fabric.io/public' }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.3.2'//firebase 5.3.0 needs 3.3.2 or high

        // Google Services for Firebase
        classpath 'com.google.gms:google-services:4.2.0'

        // Required for Crashlytics
        classpath 'io.fabric.tools:gradle:1.25.4'//1.25.4 needed by gradle 3.3
    }
}

allprojects {
    repositories {
        mavenLocal()
        google() // <-- Add this line above jcenter (Firebase)
        jcenter()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$rootDir/../node_modules/react-native/android"
        }

        // Required for Crashlytics
        maven { url 'https://maven.fabric.io/public' }

        maven { url "$rootDir/../node_modules/react-native/android" }
        maven { url "http://sdk.uxcam.com/android/" }

    }
}

android/app/build.gradle:

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 server. Below you can see all the possible configurations
 * and their defaults. If you decide to add a configuration block, make sure to add it before the
 * `apply from: "../../node_modules/react-native/react.gradle"` line.
 *
 * project.ext.react = [
 *   // the name of the generated asset file containing your JS bundle
 *   bundleAssetName: "index.android.bundle",
 *
 *   // the entry file for bundle generation
 *   entryFile: "index.android.js",
 *
 *   // whether to bundle JS and assets in debug mode
 *   bundleInDebug: false,
 *
 *   // whether to bundle JS and assets in release mode
 *   bundleInRelease: true,
 *
 *   // whether to bundle JS and assets in another build variant (if configured).
 *   // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
 *   // The configuration property can be in the following formats
 *   //         'bundleIn${productFlavor}${buildType}'
 *   //         'bundleIn${buildType}'
 *   // bundleInFreeDebug: true,
 *   // bundleInPaidRelease: true,
 *   // bundleInBeta: true,
 *
 *   // whether to disable dev mode in custom build variants (by default only disabled in release)
 *   // for example: to disable dev mode in the staging build type (if configured)
 *   devDisabledInStaging: true,
 *   // The configuration property can be in the following formats
 *   //         'devDisabledIn${productFlavor}${buildType}'
 *   //         'devDisabledIn${buildType}'
 *
 *   // the root of your project, i.e. where "package.json" lives
 *   root: "../../",
 *
 *   // where to put the JS bundle asset in debug mode
 *   jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
 *
 *   // where to put the JS bundle asset in release mode
 *   jsBundleDirRelease: "$buildDir/intermediates/assets/release",
 *
 *   // where to put drawable resources / React Native assets, e.g. the ones you use via
 *   // require('./image.png')), in debug mode
 *   resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
 *
 *   // where to put drawable resources / React Native assets, e.g. the ones you use via
 *   // require('./image.png')), in release mode
 *   resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
 *
 *   // by default the gradle tasks are skipped if none of the JS files or assets change; this means
 *   // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
 *   // date; if you have any other folders that you want to ignore for performance reasons (gradle
 *   // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
 *   // for example, you might want to remove it from here.
 *   inputExcludes: ["android/**", "ios/**"],
 *
 *   // override which node gets called and with what additional arguments
 *   nodeExecutableAndArgs: ["node"],
 *
 *   // supply additional arguments to the packager
 *   extraPackagerArgs: []
 * ]
 */

project.ext.react = [
    entryFile: "index.js"
]

apply from: "../../node_modules/react-native/react.gradle"
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"

/**
 * Set this to true to create two separate APKs instead of one:
 *   - An APK that only works on ARM devices
 *   - An APK that only works on x86 devices
 * The advantage is the size of the APK is reduced by about 4MB.
 * Upload all the APKs to the Play Store and people will download
 * the correct one based on the CPU architecture of their device.
 */
def enableSeparateBuildPerCPUArchitecture = false

/**
 * Run Proguard to shrink the Java bytecode in release builds.
 */
def enableProguardInReleaseBuilds = false

android {
    compileSdkVersion rootProject.ext.compileSdkVersion //25 required by react-native-navigation //At upload apk on Google Play store :Your app currently targets API level 21 and must target at least API level 26 to ensure it is built on the latest APIs optimized for security and performance. Change your app's target API level to at least 26. Learn how.
    buildToolsVersion "28.0.3" //25.0.1 required by react-native-navigation

    compileOptions { // e nevoie de aceste 2 linii la react-native run-android
        sourceCompatibility 1.8
        targetCompatibility 1.8
    }

    defaultConfig {
        applicationId "com.parkour2342345"
        minSdkVersion 16
        targetSdkVersion 28 //WORKS EVEN THOUGH MY ANDROID Galaxy is a 5.0.1 (21). At upload apk on Google Play store :Your app currently targets API level 21 and must target at least API level 26 to ensure it is built on the latest APIs optimized for security and performance. Change your app's target API level to at least 26. Learn how.
        versionCode 19
        versionName "3.0"
        ndk {
            abiFilters "armeabi-v7a", "x86"
        }
        multiDexEnabled true //neccesary for fresco below for gifs
    }
    signingConfigs {
        release {
            if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
                storeFile file(MYAPP_RELEASE_STORE_FILE)
                storePassword MYAPP_RELEASE_STORE_PASSWORD
                keyAlias MYAPP_RELEASE_KEY_ALIAS
                keyPassword MYAPP_RELEASE_KEY_PASSWORD
            }
        }
    }
    splits {
        abi {
            reset()
            enable enableSeparateBuildPerCPUArchitecture
            universalApk false  // If true, also generate a universal APK
            include "armeabi-v7a", "x86"
        }
    }
    buildTypes {
        release {
            minifyEnabled enableProguardInReleaseBuilds
            proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
            signingConfig signingConfigs.release
        }
    }
    // applicationVariants are e.g. debug, release
    applicationVariants.all { variant ->
        variant.outputs.each { output ->
            // For each separate APK per architecture, set a unique version code as described here:
            // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
            def versionCodes = ["armeabi-v7a":1, "x86":2]
            def abi = output.getFilter(OutputFile.ABI)
            if (abi != null) {  // null for the universal-debug, universal-release variants
                output.versionCodeOverride =
                        versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
            }
        }
    }
}

dependencies {
    compile project(':react-native-ux-cam')
    compile project(':react-native-video-processing')
    compile project(':react-native-video')
    compile project(':react-native-firebase')
    compile project(':react-native-version-number')
    implementation(project(':react-native-firebase')) {
        transitive = false
    }
    implementation project(':react-native-contacts')
    implementation project(':react-native-fbsdk')
    implementation project(':react-native-image-resizer')
    implementation project(':react-native-vector-icons')
    implementation project(':react-native-fetch-blob')
    implementation project(':react-native-maps')
    implementation project(':react-native-navigation')
    implementation project(':react-native-image-picker')
    compile project(':react-native-localization')

    // Firebase dependencies

    api 'com.google.android.gms:play-services-base:16.1.0'
    //compile 'com.google.android.gms:play-services-places:11.8.0'
    //compile 'com.google.android.gms:play-services-location:11.8.0'
    api 'com.google.firebase:firebase-core:16.0.9'
    api "com.google.firebase:firebase-ads:17.2.1"
    api "com.google.firebase:firebase-auth:17.0.0"
    api "com.google.firebase:firebase-config:17.0.0"
    api "com.google.firebase:firebase-database:17.0.0"
    api "com.google.firebase:firebase-functions:17.0.0"
    api "com.google.firebase:firebase-invites:17.0.0"
    api "com.google.firebase:firebase-firestore:19.0.0"
    api "com.google.firebase:firebase-messaging:18.0.0"
    api "com.google.firebase:firebase-perf:17.0.2"
    api "com.google.firebase:firebase-storage:17.0.0"
    api "com.crashlytics.sdk.android:crashlytics:2.9.9"

    compile fileTree(dir: "libs", include: ["*.jar"])
    compile "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
    compile "com.facebook.react:react-native:+"  // From node_modules

    //for gif
    compile 'com.facebook.fresco:fresco:1.3.0'
    compile 'com.facebook.fresco:animated-gif:1.3.0' // For animated GIF support

    // FacebookSDK
    implementation 'com.facebook.android:facebook-android-sdk:[4,5)'

    // Crashlytics
    compile('com.crashlytics.sdk.android:crashlytics:2.9.2@aar') {
        transitive = true
    }


}

// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
    from configurations.compile
    into 'libs'
}

// Required for Firebase
apply plugin: 'com.google.gms.google-services'

// Required for Crashlytics
apply plugin: 'io.fabric'

android/settings.gradle:

rootProject.name = 'com.parkour2342345'
include ':react-native-thumbnail', ':mythumbnaillibrary'
include ':react-native-ux-cam'
project(':react-native-ux-cam').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-ux-cam/android')
include ':react-native-contacts'
project(':react-native-contacts').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-contacts/android')
include ':react-native-video-processing'
project(':react-native-video-processing').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video-processing/android')
include ':react-native-video'
project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android-exoplayer')
include ':react-native-localization', ':app'
project(':react-native-localization').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-localization/android')
include ':react-native-version-number'
project(':react-native-version-number').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-version-number/android')
include ':react-native-firebase'
project(':react-native-firebase').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-firebase/android')
include ':react-native-fbsdk'
project(':react-native-fbsdk').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fbsdk/android')
include ':react-native-image-resizer'
project(':react-native-image-resizer').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-image-resizer/android')
include ':react-native-vector-icons'
project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android')
include ':react-native-fetch-blob'
project(':react-native-fetch-blob').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fetch-blob/android')
include ':react-native-navigation'
project(':react-native-navigation').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-navigation/android/app/')
include ':react-native-image-picker'
project(':react-native-image-picker').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-image-picker/android')

include ':app'

include ':react-native-maps'
project(':react-native-maps').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-maps/lib/android')

MainApplication.java:

package com.parkour2342345;

//import android.app.Application;

import com.facebook.react.ReactPackage;
import com.reactnativenavigation.NavigationApplication;
import com.oblador.vectoricons.VectorIconsPackage;
import com.imagepicker.ImagePickerPackage;
import fr.bamlab.rnimageresizer.ImageResizerPackage;
import com.rt2zz.reactnativecontacts.ReactNativeContacts;

import com.RNFetchBlob.RNFetchBlobPackage;

import java.util.Arrays;
import java.util.List;

import com.airbnb.android.react.maps.MapsPackage;

// Crashlytics
import com.crashlytics.android.Crashlytics;
import io.fabric.sdk.android.Fabric;

// Facebook
import android.content.Intent;
import com.facebook.CallbackManager;
import com.facebook.reactnative.androidsdk.FBSDKPackage;
import com.facebook.appevents.AppEventsLogger;
import com.reactnativenavigation.controllers.ActivityCallbacks;

// Firebase dependencies
import io.invertase.firebase.RNFirebasePackage;
import io.invertase.firebase.auth.RNFirebaseAuthPackage;
import io.invertase.firebase.database.RNFirebaseDatabasePackage;
import io.invertase.firebase.storage.RNFirebaseStoragePackage;
import io.invertase.firebase.messaging.RNFirebaseMessagingPackage;
import io.invertase.firebase.notifications.RNFirebaseNotificationsPackage;
import io.invertase.firebase.analytics.RNFirebaseAnalyticsPackage;

import com.apsl.versionnumber.RNVersionNumberPackage;

import com.babisoft.ReactNativeLocalization.ReactNativeLocalizationPackage;

import com.brentvatne.react.ReactVideoPackage;
import com.shahenlibrary.RNVideoProcessingPackage;

import com.uxcam.RNUxcamPackage;

public class MainApplication extends NavigationApplication {

  //Facebook requirements
  private static CallbackManager mCallbackManager = CallbackManager.Factory.create();
  protected static CallbackManager getCallbackManager() {
    return mCallbackManager;
  }

  @Override
  public boolean isDebug() {
    // Make sure you are using BuildConfig from your own application
    return BuildConfig.DEBUG;
  }

  protected List<ReactPackage> getPackages() {
    // Add additional packages you require here
    // No need to add RnnPackage and MainReactPackage
    return Arrays.<ReactPackage>asList(
            // eg. new VectorIconsPackage()
            new RNFirebasePackage(),
            new RNFirebaseAuthPackage(),
            new RNFirebaseDatabasePackage(),
            new RNFirebaseStoragePackage(),
            new RNFirebaseNotificationsPackage(),
            new RNFirebaseMessagingPackage(),
            new RNFirebaseAnalyticsPackage(),
            new RNFetchBlobPackage(),
            new MapsPackage(),
            new VectorIconsPackage(),
            new ImagePickerPackage(),
            new ImageResizerPackage(),
            new RNVersionNumberPackage(),
            new FBSDKPackage(mCallbackManager),
            new ReactNativeLocalizationPackage(),
            new ReactVideoPackage(),
            new RNThumbnailPackage(),
            new RNVideoProcessingPackage(),
            new ReactNativeContacts(),
            new RNUxcamPackage()
    );
  }

  @Override
  public List<ReactPackage> createAdditionalReactPackages() {
    return getPackages();
  }

  @Override
  public String getJSMainModuleName() {
    return "index";
  }

  // Crashlytics
  @Override
  public void onCreate() {
    super.onCreate();

    // required by Facebook
    setActivityCallbacks(new ActivityCallbacks() {
      @Override
      public void onActivityResult(int requestCode, int resultCode, Intent data) {
        mCallbackManager.onActivityResult(requestCode, resultCode, data);
      }
    });

    // FacebookSDK App Events requirement
    AppEventsLogger.activateApp(this);

    Fabric.with(this, new Crashlytics());
  }
}

AndroidManifest.xml:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.parkour2342345"
    android:versionCode="14"
    android:versionName="2.2.1">

    <!--    permission required by react-native-fbsdk -->
    <uses-permission android:name="android.permission.INTERNET" />

    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>

    <!--    permission required by react-native-image-picker -->
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

    <!--//permission required by react-native-fetch-blob (along with the above write permission)-->
    <!--<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>-->

    <!--    permission required by react-native-firebase notifications -->
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.VIBRATE" />

    <!--    permission required by react-native-contacts -->
    <uses-permission android:name="android.permission.READ_CONTACTS" />
    <uses-permission android:name="android.permission.READ_PROFILE" />

    <uses-sdk
        android:targetSdkVersion="22" />

    <application
        android:largeHeap="true"
      android:name="com.parkour2342345.MainApplication"
      android:allowBackup="true"
      android:label="@string/app_name"
      android:icon="@mipmap/ic_launcher"
      android:theme="@style/AppTheme">

        <!-- It seems to me that android:launchMode="singleTop" and android:exported='true' have no effect -->
      <activity
        android:name="com.parkour2342345.MainActivity"
        android:label="@string/app_name"
        android:launchMode="singleTop"
        android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
        android:windowSoftInputMode="adjustResize"
          android:exported='true'>
          <intent-filter>
              <action android:name="android.intent.action.MAIN" />
              <category android:name="android.intent.category.LAUNCHER" />
          </intent-filter>
      </activity>
      <activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
        <meta-data
            android:name="com.google.android.geo.API_KEY"
            android:value="AIzaSyDrGy20cAE51IV2vj2VIjAIDmOBLDhVVnI"/>

        <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>

        <!--important, need these lines for in app notifications (to appear while within the app)!-->
        <!--react-native-firebase notifications-->
        <service android:name="io.invertase.firebase.messaging.RNFirebaseMessagingService">
            <intent-filter>
                <action android:name="com.google.firebase.MESSAGING_EVENT" />
            </intent-filter>
        </service>
        <service android:name="io.invertase.firebase.messaging.RNFirebaseInstanceIdService">
            <intent-filter>
                <action android:name="com.google.firebase.INSTANCE_ID_EVENT"/>
            </intent-filter>
        </service>
        <service android:name="io.invertase.firebase.messaging.RNFirebaseBackgroundMessagingService" />

        <!-- Set custom default icon. This is used when no icon is set for incoming notification messages.
               See README(https://goo.gl/l4GJaQ) for more. -->
        <meta-data
            android:name="com.google.firebase.messaging.default_notification_icon"
            android:resource="@drawable/ic_stat_ic_notification" />
        <!-- Set color used with incoming notification messages. This is used when no color is set for the incoming
             notification message. See README(https://goo.gl/6BKBk7) for more. -->
        <meta-data
            android:name="com.google.firebase.messaging.default_notification_color"
            android:resource="@color/colorAccent" />
        <meta-data
            android:name="com.google.firebase.messaging.default_notification_channel_id"
            android:value="spotorigins-notifications"/>
        <receiver android:name="io.invertase.firebase.notifications.RNFirebaseNotificationReceiver"/>
        <receiver android:enabled="true" android:exported="true"  android:name="io.invertase.firebase.notifications.RNFirebaseNotificationsRebootReceiver">
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED"/>
                <action android:name="android.intent.action.QUICKBOOT_POWERON"/>
                <action android:name="com.htc.intent.action.QUICKBOOT_POWERON"/>
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </receiver>

    </application>

</manifest>


Environment

Click To Expand

react-native info output:

React Native Environment Info:
    System:
      OS: macOS High Sierra 10.13.6
      CPU: (8) x64 Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz
      Memory: 154.76 MB / 8.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 8.10.0 - /usr/local/bin/node
      Yarn: 1.5.1 - /usr/local/bin/yarn
      npm: 5.6.0 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
      Android SDK:
        API Levels: 21, 23, 25, 26, 27, 28, 29
        Build Tools: 23.0.1, 25.0.1, 25.0.3, 26.0.2, 27.0.3, 28.0.3, 29.0.2
        System Images: android-25 | Google Play Intel x86 Atom, android-27 | Google Play Intel x86 Atom
    IDEs:
      Android Studio: 3.5 AI-191.8026.42.35.5977832
      Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.2.0 => 16.2.0 
      react-native: 0.59.0 => 0.59.0 
    npmGlobalPackages:
      react-native-cli: 2.0.1
      react-native-create-library: 3.1.2
  • Platform that you're experiencing the issue on:
    • iOS
    • Android
    • iOS but have not tested behavior on Android
    • Android but have not tested behavior on iOS
    • Both
  • react-native-firebase version you're using that has this issue:
    • 5.3.0
  • Firebase module(s) you're using that has the issue:
    • e.g. Instance ID
  • Are you using TypeScript?
    • N


Think react-native-firebase is great? Please consider supporting all of the project maintainers and contributors by donating via our Open Collective where all contributors can submit expenses. [Learn More]

@mikehardy
Copy link
Collaborator

Difficult to say. You included the info but all I can see is an ext block specifying play services 15 and down below you've got 16. I wonder if that's it?

In general - this is going to be unpopular - but with older versions of all the dependencies I am a lot less sure of where things are going wrong. The unpopularity is because I know how difficult the react-native 0.59/0.60 transition was. 0.61 was easy but getting to 0.60 was really hard. I would definitely start planning that transition though - all of this stuff is known working with current versions

Without being on at least 0.59.3 though I don't think you can even use the up to date SDKs on the iOS side which means iOS13 will be pretty buggy. That's a tangent for your issue - I know it's android - but can maybe help make the case to start upgrading.

@nicoara
Copy link
Author

nicoara commented Nov 11, 2019

thanks for the feedback! an upgrade is on the table, but in the next months, not right now, due to the high costs and time.

changing to:
googlePlayServicesVersion = "16.0.0"
does not remove the error.

I have added here the 5000 lines that is output for
cd android && ./gradlew :app:dependencies
https://www.dropbox.com/s/ivoqabr0pq5uu2q/dependencies.txt?dl=0

Do you notice something here?
Many thanks

@mikehardy
Copy link
Collaborator

the thing is - they still aren't lining up. 16.0.0 != 16.1.0, and you can see below that's what you specify. You should probably be referencing the gradle variable in the second one to make sure they are exact. As a second suggestion on version management - as I still have the hypothesis this is version mis-matches somewhere you might convert to the "bill of materials" style of version specifying for firestore, and this one is the last one before AndroidX https://firebase.google.com/support/release-notes/android#bom_v19-0-0

Then you use it like so

    implementation platform("com.google.firebase:firebase-bom:24.0.2")
    implementation "com.google.firebase:firebase-auth"
    implementation "com.google.firebase:firebase-analytics"
    implementation "com.google.firebase:firebase-perf"
    implementation "com.google.firebase:firebase-config"
    implementation "com.google.firebase:firebase-functions"
    implementation "com.google.firebase:firebase-storage"
    implementation "com.google.firebase:firebase-dynamic-links"
    implementation "com.google.firebase:firebase-firestore"
    implementation "com.google.firebase:firebase-messaging"
    implementation 'com.crashlytics.sdk.android:crashlytics'

except with the 19.0.0 version.

@mikehardy
Copy link
Collaborator

Images are difficult to deal with. Copy past the error is better. That's a vital clue that something is wrong with your versions though...

@mikehardy
Copy link
Collaborator

also, a close examination of ./gradlew :app:dependencies would show which support libraries are coming in why. You're shooting for 28.0.0 but 26.1.0 is coming in, why? the tree of dependencies will point out who is doing it. And it will probably be another variable to put in the ext{} block to pin it down to the version you want

@nicoara
Copy link
Author

nicoara commented Nov 11, 2019

@mikehardy

The build was finally successful.
It was this error you alluded to:
Screen Shot 2019-11-12 at 12 11 29 AM

looking further, in react-native-firebase build i had: $supportVersion (even if not highlighted in red), although the variable did not exist!

// For Firebase Ads
compileOnly "com.android.support:customtabs:$supportVersion"
// For React Native Firebase Notifications
api "com.android.support:support-v4:$supportVersion”

solution was:

// For Firebase Ads
compileOnly "com.android.support:customtabs:${rootProject.ext.supportLibVersion}"
// For React Native Firebase Notifications
api "com.android.support:support-v4:${rootProject.ext.supportLibVersion}"

interestingly. the app does not start on mobile: half a second white screen and crash. do you know how I can debug this?

Thank you!!

@mikehardy
Copy link
Collaborator

adb logcat will be your friend. startup -> white screen -> crash usually means the native could didn't get the bundle somehow. This has nothing to do with firebase though I am guessing. except that firebase admod requires your admob id and will crash otherwise https://github.com/mikehardy/rnfbdemo/blob/master/make-demo-rn59.sh#L117

@nicoara
Copy link
Author

nicoara commented Nov 18, 2019

@mikehardy exactly, it crashes due to admod. How can I not include admob in the project? Thank you :)

@mikehardy
Copy link
Collaborator

I'm not sure I understand? The way to not include admob is...to not include admob? Don't put it in your dependencies in gradle files (or ios Podfile), and don't put it in your java startup list etc. I don't include admob for instance and it's fine

@nicoara
Copy link
Author

nicoara commented Nov 20, 2019

@mikehardy thank you a lot for your consistent help.

I feel like I don't get something obvious here

Can you kindly confirm the list of places admod should be eliminated from?

I have eliminated from react-native-firebase gradle:

  // Ads
  compileOnly('com.google.firebase:firebase-ads:17.2.1') {
    // exclude `customtabs` as the support lib version is out of date
    // we manually add it as a dependency below with a custom version
    exclude group: 'com.android.support', module: 'customtabs'
  }

and from android/app/build.gradle:
api "com.google.firebase:firebase-ads:17.2.1"

still gives this error at build:

 location: class RNFirebaseAdMobBanner
/Users/nicoara/Documents/GitHub/Parkour/node_modules/react-native-firebase/android/src/main/java/io/invertase/firebase/admob/RNFirebaseAdMobBanner.java:170: error: cannot find symbol
    adView.setAdListener(new AdListener() {
                             ^
  symbol:   class AdListener
  location: class RNFirebaseAdMobBanner
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

@mikehardy
Copy link
Collaborator

@nicoara well, hopefully you get your project working soon, that's the fun part ;-)

I think you need to leave the first one alone - I would not go into any gradle files inside react-native-firebase - but definitely remove it from your android/app/build.gradle and remove it from MainApplication and it should work?

You can maybe play around with cloning this repo and running https://github.com/mikehardy/rnfbdemo/blob/master/make-demo-rn59.sh paying special attention to https://github.com/mikehardy/rnfbdemo/blob/767046bd5d2d2b15e925922999d3eb23439e90fd/make-demo-rn59.sh#L108 through 121 - I think if you commit every line out there it should build and run. Without admob (or admob crashes).

@nicoara
Copy link
Author

nicoara commented Nov 21, 2019

@mikehardy your solution solved this error. 4-5 errors fixed later
(upgraded "babel-preset-react-native" to "5.0.2", add
"presets": ["react-native", "module:metro-react-native-babel-preset"] in .babelrc)
, it now builds, it loads the dependency graph 100% for the first time (!) but then the app does not start on the phone.

I am not unable of debugging this one. i feel this is the closest so far ! Thank you .

the error is:
TypeError: Cannot read property 'forEach' of undefined
at Promise.resolve.then.body (/Users/nicoara/Documents/GitHub/Parkour/node_modules/metro/src/Server.js:1177:15)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
::ffff:127.0.0.1 - - [21/Nov/2019:21:11:01 +0000] "POST /symbolicate HTTP/1.1" 500 - "-" "okhttp/3.12.1"

adb logcat shows:

dur=6009.09 max=5019.28 min=421.01
11-21 23:15:59.035   432   432 I DisplayDevice: [Built-in Screen (type:0)] fps:0.499282,dur:6008.63,max:5034.28,min:418.37
11-21 23:15:59.692  2316  2406 W System  : ClassLoader referenced unknown path: system/framework/mediatek-cta.jar
11-21 23:15:59.700  2316  2406 I System.out: e:java.lang.ClassNotFoundException: com.mediatek.cta.CtaHttp
11-21 23:15:59.966  1337  1337 D SignalClusterView: mDataConnected=false;mWifiVisible=true
11-21 23:16:00.001   876  1095 D DataShapingService: [isDataShapingWhitelistApp] packageName: android
11-21 23:16:00.002   876  1095 D DataShapingUtils: [isDataShapingWhitelistApp] packageName: android, mWhitelist: []
11-21 23:16:00.003   876  1095 D DataShapingService: [openLteDataUpLinkGate] isForce: false
11-21 23:16:00.003   876  1095 D DataShapingService: Alarm manager openLteDataUpLinkGate: false
11-21 23:16:00.003   876  1095 I DataShapingService: openLteGateSuccess = false
11-21 23:15:59.989  1337  1337 I chatty  : uid=10026(com.android.systemui) identical 6 lines
11-21 23:15:59.992  1337  1337 D SignalClusterView: mDataConnected=false;mWifiVisible=true
11-21 23:16:00.013   876  1095 D PMS     : checkProximityLockIncallingAcquired:  package=android flags=1
11-21 23:16:00.021   432  1551 I BufferQueueProducer: [StatusBar#0](this:0x7083fd6800,id:5,api:1,p:1337,c:432) queueBuffer: fps=0.99 dur=1007.88 max=1007.88 min=1007.88
11-21 23:16:00.025  1337  1337 D KeyguardUpdateMonitor: received broadcast android.intent.action.TIME_TICK
11-21 23:16:00.026  1337  1337 D KeyguardUpdateMonitor: handleTimeUpdate
11-21 23:16:00.042   415  1553 W IMGMemtrackHAL: hal_get_memory: memtrack cache rebuild was required
11-21 23:16:00.043   432   432 I DisplayDevice: [Built-in Screen (type:0)] fps:0.992319,dur:1007.74,max:1007.74,min:1007.74
11-21 23:16:00.116   876  6742 D BroadcastQueue: performReceiveLocked BEGIN, intent = android.intent.action.TIME_TICK, app = ProcessRecord{7bd9e09 1998:com.huawei.android.launcher/u0a23}, app.thread = android.app.IApplicationThread$Stub$Proxy@1709577
11-21 23:16:00.123   876  1672 D BroadcastQueue: performReceiveLocked BEGIN, intent = android.intent.action.TIME_TICK, app = ProcessRecord{7bd9e09 1998:com.huawei.android.launcher/u0a23}, app.thread = android.app.IApplicationThread$Stub$Proxy@1709577
11-21 23:16:00.137   876   876 D PMS     : checkProximityLockIncallingReleased:  package=android flags=1
11-21 23:16:00.544   415  1553 I vendor.mediatek.hardware.power@1.1-impl: querySysInfo cmd:6, param:0
11-21 23:16:00.545   415   444 I powerd  : [powerd_req] POWER_MSG_QUERY_INFO: cmd:6, param:0
11-21 23:16:00.546   415   444 I libPerfService: perfUserGetCapability - cmd:6, id:0, value:1998
11-21 23:16:01.015   415   444 I libPerfService: 15: set gpu level: 2
11-21 23:16:01.016   415   444 I libPerfService: 15: legacy set freq: 1274000 1274000
11-21 23:16:01.042   432  1551 I BufferQueueProducer: [com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher#1](this:0x7080d95000,id:1900,api:1,p:1998,c:432) queueBuffer: fps=0.11 dur=17447.29 max=17208.89 min=238.40
11-21 23:16:01.047   432   432 I DisplayDevice: [Built-in Screen (type:0)] fps:1.992804,dur:1003.61,max:938.41,min:65.20
11-21 23:16:01.093   415   444 I libPerfService: 15: legacy set freq: -1 1274000
11-21 23:16:01.093   415   444 I libPerfService: 15: set gpu level: 0
11-21 23:16:01.095  1998  1998 V jhw     : call Intent.migrateExtraStreamToClipData(1)
11-21 23:16:01.098   876  1672 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.parkour2342345/.MainActivity bnds=[360,277][536,498]} from uid 10023
11-21 23:16:01.098   876  1672 E AwareLog: CPUFeatureAMSCommunicator: set app boost but type is unknown
11-21 23:16:01.101  1464  1692 I ash     : front pkg : com.parkour2342345 launcher: false
11-21 23:16:01.101  1464  1692 I ash     : above launcher front pkgs: [com.parkour2342345]
11-21 23:16:01.113   415  1553 I vendor.mediatek.hardware.power@1.1-impl: PowerHint hint:8, data:1
11-21 23:16:01.114   415   444 I libPerfService: 8: set gpu level: 3
11-21 23:16:01.115   415   444 I libPerfService: 8: legacy set freq: 1495000 -1
11-21 23:16:01.119   415  1553 W IMGMemtrackHAL: hal_get_memory: memtrack cache rebuild was required
11-21 23:16:01.127   876  1672 D PMS     : checkProximityLockIncallingAcquired:  package=android flags=1
11-21 23:16:01.129   876  1104 E AwareLog: AppStatusUtils: error status type input!
11-21 23:16:01.131   876  1104 E AwareLog: AppStatusUtils: error status type input!
11-21 23:16:01.132  1464  2671 I PGServer: android calls fast hibernateApps
11-21 23:16:01.132  1464  2671 I AppFastHibernation: fast hibernate duration: 3000 reason: start activity
11-21 23:16:01.136   455  6493 I Pged-IPgedBinderService: ****action is 1, pid num is 2***
11-21 23:16:01.136   455  6493 I Pged-Freezer: freezePids
11-21 23:16:01.136   455  6493 I Pged-Freezer: Freeze process: 3832
11-21 23:16:01.138  1464  1631 D PgedBinderAdapter: frz ok, pid: [3832]
11-21 23:16:01.147   876  1672 W ActivityManager: Unable to start service Intent { act=com.huawei.launcher.action.LAUNCHER_APP_STARTUP pkg=com.huawei.trustspace (has extras) } U=0: not found
11-21 23:16:01.148  1998  3888 D MotionDetectionManager: stopMotionAppsReco motionApps: 403
11-21 23:16:01.148  1998  3888 D MotionDetectionManager: stopMotionAppsReco not recognition motionApps 403
11-21 23:16:01.148  1998  3888 W HwLauncher: Launcher.MotionManager stopMotionAppsReco service flg 403 is unavailable
11-21 23:16:01.151   876  1076 D WindowClient: Add to mViews: DecorView@7673580[parkour2342345], this = android.view.WindowManagerGlobal@5cca9e9
11-21 23:16:01.152   876  1076 D ViewRootImpl[parkour2342345]: hardware acceleration = false , fakeHwAccelerated = true, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
11-21 23:16:01.174   432   432 I BufferQueue: [unnamed-432-1920](this:0x7083fd5000,id:1920,api:0,p:-1,c:-1) BufferQueue core=(432:/system/bin/surfaceflinger)
11-21 23:16:01.174   432   432 W GuiExt  : Cannot find GuiExtService
11-21 23:16:01.175   432   432 I BufferQueueConsumer: [unnamed-432-1920](this:0x7083fd5000,id:1920,api:0,p:-1,c:432) connect(C): consumer=(432:/system/bin/surfaceflinger) controlledByApp=false
11-21 23:16:01.175   432   432 I BufferQueueConsumer: [unnamed-432-1920](this:0x7083fd5000,id:1920,api:0,p:-1,c:432) setConsumerName: unnamed-432-1920
11-21 23:16:01.175   432   432 I BufferQueueConsumer: [Splash Screen com.parkour2342345#0](this:0x7083fd5000,id:1920,api:0,p:-1,c:432) setConsumerName: Splash Screen com.parkour2342345#0
11-21 23:16:01.175   432   432 I BufferQueueConsumer: [Splash Screen com.parkour2342345#0](this:0x7083fd5000,id:1920,api:0,p:-1,c:432) setDefaultBufferSize: width=720 height=1440
11-21 23:16:01.177   876  1076 V WindowManager: Changing focus from Window{75c1688 u0 com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher} to null Callers=com.android.server.wm.WindowManagerService.relayoutWindow:2248 com.android.server.wm.Session.relayout:239 android.view.ViewRootImpl.relayoutWindow:6504 android.view.ViewRootImpl.performTraversals:2024 
11-21 23:16:01.178   876  1076 D WindowManager: Input focus has changed to null
11-21 23:16:01.180  1464  1545 D ScenarioService: front pkg : com.parkour2342345 launcher: false
11-21 23:16:01.181  1464  1545 D ScenarioService: new above launcher front pkgs: [com.parkour2342345]
11-21 23:16:01.181  1464  1545 I AppsUsage: scnOff:false FgAPP:com.parkour2342345 BgAPP:com.huawei.android.launcher
11-21 23:16:01.185  1464  1764 I PGServer: report state:10010 event type:2 pid:0 uid:0 pkg:com.huawei.android.launcher to pid: 1464
11-21 23:16:01.185  1464  1764 I SceneReceiver: state type: 10010 eventType:2 pid:0 uid:0 pkg:com.huawei.android.launcher
11-21 23:16:01.185  1464  1764 I PGServer: report state:10000 event type:1 pid:0 uid:0 pkg:com.parkour2342345 to pid: 1464
11-21 23:16:01.186  1464  1764 I SceneReceiver: state type: 10000 eventType:1 pid:0 uid:0 pkg:com.parkour2342345
11-21 23:16:01.186  1464  2559 D HwThermalStateManager: current foreapp pkg : com.parkour2342345
11-21 23:16:01.192   876  6742 V WindowManager: Set focused app to: AppWindowToken{54cbd token=Token{e06f25a ActivityRecord{4b7e205 u0 com.parkour2342345/.MainActivity t757}}} old focus=AppWindowToken{2899ba9 token=Token{60a5918 ActivityRecord{add4fb u0 com.huawei.android.launcher/.unihome.UniHomeLauncher t716}}} moveFocusNow=true
11-21 23:16:01.193   876  1024 I WindowManager: Focus moving from Window{75c1688 u0 com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher} to null
11-21 23:16:01.200   876  1076 D Surface : lockCanvas
11-21 23:16:01.200   876  1076 D Surface : Surface::connect(this=0x73ae46b000,api=2)
11-21 23:16:01.200   415  1553 I vendor.mediatek.hardware.power@1.1-impl: notifyAppState pack:com.parkour2342345, act:com.parkour2342345.MainActivity, pid:2316, state:1
11-21 23:16:01.201   432   451 I BufferQueueProducer: [Splash Screen com.parkour2342345#0](this:0x7083fd5000,id:1920,api:2,p:876,c:432) connect(P): api=2 producer=(876:system_server) producerControlledByApp=false
11-21 23:16:01.201   415   444 I libPerfService: 313: legacy set freq: 1495000 -1
11-21 23:16:01.201   415   444 I libPerfService: 313: set gpu level max: 3
11-21 23:16:01.201   415   415 W merged_hal_serv: type=1400 audit(0.0:56488): avc: denied { call } for scontext=u:r:merged_hal_service:s0 tcontext=u:r:mtk_hal_dfps:s0 tclass=binder permissive=0
11-21 23:16:01.205   415   444 W vendor.mediatek.hardware.dfps@1.0::FpsPolicyService: IFpsPolicyService: cannot call into hwbinder service: Status(EX_TRANSACTION_FAILED): 'FAILED_TRANSACTION: '; No permission? Check for selinux denials.
11-21 23:16:01.205   415   444 E DynamicFpsPolicy: FpsInfo: 19f00000000 can not find FpsPolicyService
11-21 23:16:01.205   415   444 W DynamicFpsPolicy: Failed to set fg info [2316|com.parkour2342345]: wrong state 0
11-21 23:16:01.205   415   444 I libPerfService: [perfNotifyAppState] foreground:com.parkour2342345, pid:2316
11-21 23:16:01.206   415   444 I libPerfService: perfUserGetCapability - cmd:7, id:0, value:1
11-21 23:16:01.224 11427 11490 I MicroDetectionState: Should stop hotword detection immediately - false
11-21 23:16:01.225 11427 11490 I MicroDetector: Keeping mic open: false
11-21 23:16:01.225 11427 11490 I RecognitionAudioControl: #shutdownAudio [requestId: 1111712242697720998, keepAudioOpen: false, forced: true]
11-21 23:16:01.226 11427 11490 I RecognitionAudioControl: #internalShutdownAudio [requestId: 1111712242697720998]
11-21 23:16:01.226 11427 11490 I RecognitionAudioControl: #internalShutdownAudio [keepAudioOpen: false, forced: true]
11-21 23:16:01.226 11427 11490 I RecognitionAudioControl: #actualShutdownAudio
11-21 23:16:01.226 11427 11490 I AudioController: #shutdown [requestId=1111712242697720998]
11-21 23:16:01.233 11427  2092 I AudioController: internalShutdown
11-21 23:16:01.233 11427  2092 D AudioRecord: stop: 0x73bf89f280
11-21 23:16:01.234 11427 30098 I MicroRecognitionRunner: Stopping hotword detection.
11-21 23:16:01.237 11427 29169 E DeviceStateChecker: DeviceStateChecker cancelled
11-21 23:16:01.249   406   868 D AudioALSAStreamIn: +standby()
11-21 23:16:01.249   406   868 D AudioALSAStreamIn: standby(), keep the mStandbyFrameCount = 301760, ret = 0
11-21 23:16:01.249   406   868 D AudioALSAStreamIn: close()
11-21 23:16:01.249   406   868 D AudioALSACaptureHandlerNormal: +close()
11-21 23:16:01.264  1464  1545 I DeviceMonitor: Remove AudioIn uid:10041
11-21 23:16:01.264  1464  1545 I DeviceMonitor: last release audio in uid:10041 pid:-2
11-21 23:16:01.265   406   868 D AudioALSACaptureDataClientAurisysNormal: pthread_join hProcessThread done
11-21 23:16:01.265   406   868 D AudioALSACaptureDataProviderBase: detach(), 0xf478bf00, mCaptureDataClientVector.size()=1, Identity=0xf5b5f680
11-21 23:16:01.265   406   868 D AudioALSAHardwareResourceManager: +stopInputDevice(), mInputDevice = 0x80000004, stop_device = 0x80000004, mStartInputDeviceCount = 1, mMicInverse = 0, mNumPhoneMicSupport = 1
11-21 23:16:01.265   406   868 D AudioUtility: IsAudioSupportFeature AUDIO_SUPPORT_DMIC bSupportFlg[0]
11-21 23:16:01.266   406   868 D AudioALSAHardwareResourceManager: setSingleDmicLoopbackType(), start input = 0, use_single_input = 0, mBuiltInMicSpecificType = 0
11-21 23:16:01.266   406   868 D AudioALSADeviceConfigManager: ApplyDeviceSettingByName() DeviceName = Mic1TypeACCMode descriptor->DeviceStatusCounter = 0
11-21 23:16:01.266   406   868 D AudioALSADeviceConfigManager: ApplyDeviceSettingByName() DeviceName = Mic2TypeACCMode descriptor->DeviceStatusCounter = 0
11-21 23:16:01.266   406   868 D AudioALSADeviceConfigManager: ApplyDeviceTurnoffSequenceByName(), DeviceName = builtin_Mic_SingleMic descriptor->DeviceStatusCounter = 1
11-21 23:16:01.266   406   868 D AudioALSAHardwareResourceManager: -stopInputDevice(), mInputDevice = 0x0, mStartInputDeviceCount = 0
11-21 23:16:01.266   406   868 D AudioALSACaptureDataProviderNormal: close()
11-21 23:16:01.285   406  3829 D AudioALSACaptureDataProviderNormal: -readThread(), pid: 406, tid: 3829
11-21 23:16:01.285   406   868 D AudioALSACaptureDataProviderNormal: pthread_join hReadThread done
11-21 23:16:01.286   406   868 D AudioALSACaptureDataProviderNormal: -close()
11-21 23:16:01.287   406   868 D AudioPreProcess: ~AudioPreProcess()+
11-21 23:16:01.287   406   868 D AudioPreProcess: ~AudioPreProcess()-
11-21 23:16:01.287   406   868 D AudioALSACaptureDataClientAurisysNormal: DestroyAurisysLibManager()
11-21 23:16:01.287   406   868 D aurisys_lib_handler: aurisys_arsi_destroy_handler(), lib_name mtk_speech_enh, 0xf5b69540, arsi_destroy_handler, arsi_handler = 0xf43a1f80, retval = 0
11-21 23:16:01.288   406   868 D aurisys_lib_manager: delete_aurisys_lib_manager(), manager 0xf47953a0
11-21 23:16:01.289   406   868 D AudioVoiceUIDL: [SetUplinkStartTime] mULtime sec 0 nsec 0
11-21 23:16:01.289   406   868 D AudioALSACaptureHandlerNormal: -close()
11-21 23:16:01.289   406   868 D AudioALSAStreamManager: +destroyCaptureHandler(), mode = 0, pCaptureHandler = 0xf47f03a0
11-21 23:16:01.289   406   868 D AudioALSACaptureHandlerNormal: +~AudioALSACaptureHandlerNormal()
11-21 23:16:01.289   406   868 D AudioALSACaptureHandlerNormal: ~AudioALSACaptureHandlerNormal()
11-21 23:16:01.289   406   868 D AudioALSACaptureHandlerBase: ~AudioALSACaptureHandlerBase()
11-21 23:16:01.289   406   868 D AudioALSAStreamManager: -destroyCaptureHandler(), mCaptureHandlerVector.size() = 0
11-21 23:16:01.289   406   868 D AudioALSAStreamIn: -standby()
11-21 23:16:01.290   466   466 D APM_AudioPolicyManager: stopInput() input 470
11-21 23:16:01.292 11427 29971 I PBSessionCacheImpl: Deleted sessionId[50258051816661759] from persistence.
11-21 23:16:01.292   406   694 D AudioALSAHardware: -releaseAudioPatch handle [0x43]
11-21 23:16:01.293   406   694 D AudioALSAHardware: +routing releaseAudioPatch 80000004->Mixer
11-21 23:16:01.293   406   694 D AudioALSAStreamManager: +setParameters(), IOport = 470
11-21 23:16:01.293   406   694 D AudioALSAStreamManager: +routingInputDevice(), input_device: 0x80000004 => 0x0
11-21 23:16:01.293   406   694 W AudioALSAStreamManager: -routingInputDevice(), input_device == AUDIO_DEVICE_NONE(0x0), return
11-21 23:16:01.293   406   694 D AudioALSAStreamIn: -setParameters()
11-21 23:16:01.293   406   694 D AudioALSAHardware: handlecheck releaseAudioPatch remove handle [43] OK
11-21 23:16:01.293   406   694 D AudioALSAHardware: -releaseAudioPatch handle [0x43] status [0]
11-21 23:16:01.294   876  1672 D PMS     : checkProximityLockIncallingReleased:  package=audioserver flags=1
11-21 23:16:01.295   466   466 D APM_AudioPolicyManager: event 165
11-21 23:16:01.295 11427  2092 D AudioRecord: stop done
11-21 23:16:01.295 11427  2092 D AudioRecord: stop: 0x73bf89f280
11-21 23:16:01.295 11427  2092 I chatty  : uid=10041(com.google.android.googlequicksearchbox) UserFacingNonBl identical 1 line
11-21 23:16:01.295 11427  2092 D AudioRecord: stop: 0x73bf89f280
11-21 23:16:01.297 11427 11488 D Surface : Surface::disconnect(this=0x73bf9d0000,api=1)
11-21 23:16:01.301   432   451 I BufferQueueProducer: [com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher#2](this:0x7080d76800,id:1919,api:1,p:11427,c:432) disconnect(P): api 1
11-21 23:16:01.301   432   451 I BufferQueueConsumer: [com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher#2](this:0x7080d76800,id:1919,api:1,p:-1,c:432) getReleasedBuffers: returning mask 0xffffffffffffffff
11-21 23:16:01.302  1464  1545 I PGServer: report state:1 event type:2 pid:11427 uid:10041 pkg:null to pid: 876
11-21 23:16:01.302 11427 11488 W ThreadedRenderer: ThreadedRenderer::detachAnimators pid = 11427 threadid = 11488
11-21 23:16:01.308  2316  2316 V FA      : onActivityCreated
11-21 23:16:01.310  1464  1545 D AudioState: auido type:in state:stop pid:11427 uid:10041
11-21 23:16:01.312   466  1271 D AudioFlinger: event 163 
11-21 23:16:01.313   406   868 D AudioALSAStreamManager: +closeInputStream(), in = 0xf5b7ca00, size() = 1
11-21 23:16:01.313   406   868 D AudioALSAStreamIn: ~AudioALSAStreamIn()
11-21 23:16:01.313   406   868 D AudioALSAStreamManager: -closeInputStream(), mStreamInVector.size() = 0
11-21 23:16:01.317   876  4280 D PMS     : checkProximityLockIncallingAcquired:  package=audioserver flags=1
11-21 23:16:01.319 11427  2092 I MicrophoneInputStream: mic_close  SR : 16000 CC : 16 SO : 1999
11-21 23:16:01.319 11427  2092 E AudioSource: Stop listening is called on already closed AudioSource
11-21 23:16:01.324   876  1401 D PMS     : checkProximityLockIncallingReleased:  package=audioserver flags=1
11-21 23:16:01.324 11427 29283 I MicroRecognitionRunner: Detection finished
11-21 23:16:01.327   876  1672 I HwNetworkPolicy: onTransact, code = 203
11-21 23:16:01.328   432  1551 I BufferQueueProducer: [StatusBar#0](this:0x7083fd6800,id:5,api:1,p:1337,c:432) queueBuffer: fps=1.53 dur=1306.71 max=1228.64 min=78.07
11-21 23:16:01.330  1581  1748 I HwNetworkPolicyManager: getHwUidPolicy uid = 10130 policy = 0
11-21 23:16:01.336 11427 11490 W SearchServiceCore: Abort, client detached.
11-21 23:16:01.339 11427 11490 I StreamController: cleanUpControllerScope(nowcards-15-7b8215b-ad01)
11-21 23:16:01.345   876  3195 I WifiService: getWifiEnabledState uid=10041
11-21 23:16:01.352   876  5246 I HwNetworkPolicy: onTransact, code = 15
11-21 23:16:01.353  1998  2178 D Surface : Surface::disconnect(this=0x73c5bff000,api=1)
11-21 23:16:01.354   432  1551 I BufferQueueProducer: [com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher#1](this:0x7080d95000,id:1900,api:1,p:1998,c:432) disconnect(P): api 1
11-21 23:16:01.354   432  1551 I BufferQueueConsumer: [com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher#1](this:0x7080d95000,id:1900,api:1,p:-1,c:432) getReleasedBuffers: returning mask 0xffffffffffffffff
11-21 23:16:01.356  1998  2178 W ThreadedRenderer: ThreadedRenderer::detachAnimators pid = 1998 threadid = 2178
11-21 23:16:01.380   504   641 W JankService: processEntry, not beta version or commercial log off
11-21 23:16:01.400  2316  2316 D HwRTBlurUtils: check blur style for HwPhoneWindow-, themeResId : 0x7f100007, context : com.parkour2342345.MainActivity@d6b17f8, Nhwext : 0, get Blur : disable with , null
11-21 23:16:01.401  2316  2316 D HwRTBlurUtils: check blur style for HwPhoneWindow-, themeResId : 0x7f100007, context : com.parkour2342345.MainActivity@d6b17f8, Nhwext : 0, get Blur : disable with , null
11-21 23:16:01.408  2316  2316 I FirebasePerformance: Session ID - a64f74c28b704edaaaa81ccacbb62ac0
11-21 23:16:01.421  2316  2316 W FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_feature_enabled'.
11-21 23:16:01.423  2316  2316 D FirebasePerformance: Creating a new Verbose Session: 2bc78ce78afb412fb907fed76e172320
11-21 23:16:01.436  2316  2316 W FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_max_length_minutes'.
11-21 23:16:01.436  2316  3891 W FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_feature_enabled'.
11-21 23:16:01.437  2316  2316 W FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_cpu_capture_frequency_fg_ms'.
11-21 23:16:01.438  2316  2316 W FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_cpu_capture_enabled'.
11-21 23:16:01.440  2316  2316 W FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_memory_capture_frequency_fg_ms'.
11-21 23:16:01.441  2316  2316 W FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_memory_capture_enabled'.
11-21 23:16:01.446  2316  2316 W FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_max_length_minutes'.
11-21 23:16:01.448  2316  3891 W FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_feature_enabled'.
11-21 23:16:01.459   876  4947 D PMS     : checkProximityLockIncallingAcquired:  package=android flags=1
11-21 23:16:01.486   876  1076 D View    : [Warning] assignParent to null: this = DecorView@7673580[parkour2342345]
11-21 23:16:01.487   876  1076 D Surface : Surface::disconnect(this=0x73ae46b000,api=2)
11-21 23:16:01.487   432  1551 I BufferQueueProducer: [Splash Screen com.parkour2342345#0](this:0x7083fd5000,id:1920,api:2,p:876,c:432) disconnect(P): api 2
11-21 23:16:01.488   432  1551 I BufferQueueConsumer: [Splash Screen com.parkour2342345#0](this:0x7083fd5000,id:1920,api:2,p:-1,c:432) getReleasedBuffers: returning mask 0xffffffffffffffff
11-21 23:16:01.491   876  1076 D WindowClient: Remove from mViews: DecorView@7673580[parkour2342345], this = android.view.WindowManagerGlobal@5cca9e9
11-21 23:16:01.492   876  5246 V WindowManager: Set focused app to: AppWindowToken{2899ba9 token=Token{60a5918 ActivityRecord{add4fb u0 com.huawei.android.launcher/.unihome.UniHomeLauncher t716}}} old focus=AppWindowToken{54cbd token=Token{e06f25a ActivityRecord{4b7e205 u0 com.parkour2342345/.MainActivity t757}}} moveFocusNow=true
11-21 23:16:01.494  1464  1545 D ScenarioService: front pkg : com.huawei.android.launcher launcher: true
11-21 23:16:01.494   415  1553 I vendor.mediatek.hardware.power@1.1-impl: notifyAppState pack:com.huawei.android.launcher, act:com.huawei.android.launcher.unihome.UniHomeLauncher, pid:1998, state:1
11-21 23:16:01.495  1464  1545 I AppsUsage: scnOff:false FgAPP:com.huawei.android.launcher BgAPP:com.parkour2342345
11-21 23:16:01.495   415   444 I libPerfService: [perfNotifyAppState] Package common policy match !!!
11-21 23:16:01.495   415   444 I libPerfService: 313: set gpu level max: 2
11-21 23:16:01.495  1464  1692 I ash     : front pkg : com.huawei.android.launcher launcher: true
11-21 23:16:01.495   415   444 I libPerfService: 313: legacy set freq: 1495000 -1
11-21 23:16:01.498   432   432 I BufferQueueConsumer: [Splash Screen com.parkour2342345#0](this:0x7083fd5000,id:1920,api:2,p:-1,c:-1) disconnect(C)
11-21 23:16:01.498 11427 11427 V PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = ViewRoot{d3a2a19 com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher,ident = 27}, this = DecorView@3203560[UniHomeLauncher]
11-21 23:16:01.495   415   415 W merged_hal_serv: type=1400 audit(0.0:56489): avc: denied { call } for scontext=u:r:merged_hal_service:s0 tcontext=u:r:mtk_hal_dfps:s0 tclass=binder permissive=0
11-21 23:16:01.500   415   444 W vendor.mediatek.hardware.dfps@1.0::FpsPolicyService: IFpsPolicyService: cannot call into hwbinder service: Status(EX_TRANSACTION_FAILED): 'FAILED_TRANSACTION: '; No permission? Check for selinux denials.
11-21 23:16:01.500   432   432 I BufferQueue: [Splash Screen com.parkour2342345#0](this:0x7083fd5000,id:1920,api:2,p:-1,c:-1) ~BufferQueueCore
11-21 23:16:01.500   415   444 E DynamicFpsPolicy: FpsInfo: 19f00000000 can not find FpsPolicyService
11-21 23:16:01.500   415   444 W DynamicFpsPolicy: Failed to set fg info [1998|com.huawei.android.launcher]: wrong state 0
11-21 23:16:01.500   415   444 I libPerfService: [perfNotifyAppState] foreground:com.huawei.android.launcher, pid:1998
11-21 23:16:01.501  1464  1764 I PGServer: report state:10000 event type:2 pid:0 uid:0 pkg:com.parkour2342345 to pid: 1464
11-21 23:16:01.501   415   444 I libPerfService: perfUserGetCapability - cmd:7, id:0, value:1
11-21 23:16:01.501  1464  1764 I SceneReceiver: state type: 10000 eventType:2 pid:0 uid:0 pkg:com.parkour2342345
11-21 23:16:01.502  1464  1764 I PGServer: report state:10010 event type:1 pid:0 uid:0 pkg:com.huawei.android.launcher to pid: 1464
11-21 23:16:01.503  1464  1764 I SceneReceiver: state type: 10010 eventType:1 pid:0 uid:0 pkg:com.huawei.android.launcher
11-21 23:16:01.503  1464  2559 D HwThermalStateManager: current foreapp pkg : com.huawei.android.launcher
11-21 23:16:01.511  2316  3040 D FA      : Logging event (FE): screen_view(_vs), Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=MainActivity, firebase_previous_id(_pi)=-925497761211035538, firebase_screen_class(_sc)=MainActivity, firebase_screen_id(_si)=-925497761211035537}]
11-21 23:16:01.518   876  1672 I WindowManager: Relayout Window{75c1688 u0 com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher}: oldVis=8 newVis=0 focusMayChange = true
11-21 23:16:01.519   876  1672 V WindowManager: Changing focus from null to Window{75c1688 u0 com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher} Callers=com.android.server.wm.WindowManagerService.relayoutWindow:2248 com.android.server.wm.Session.relayout:239 android.view.IWindowSession$Stub.onTransact:286 com.android.server.wm.Session.onTransact:163 
11-21 23:16:01.520   876  1672 D WindowManager: Input focus has changed to Window{75c1688 u0 com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher}
11-21 23:16:01.542  1998  2178 D Surface : Surface::connect(this=0x73c5bff000,api=1)
11-21 23:16:01.542  1998  1998 D Surface : Surface::allocateBuffers(this=0x73c5bff000)
11-21 23:16:01.544   432  1778 I BufferQueueProducer: [com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher#1](this:0x7080d95000,id:1900,api:1,p:1998,c:432) connect(P): api=1 producer=(1998:com.huawei.android.launcher) producerControlledByApp=true
11-21 23:16:01.544   876  1024 I WindowManager: Focus moving from null to Window{75c1688 u0 com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher}
11-21 23:16:01.568  2316  3040 V FA      : Connecting to remote service
11-21 23:16:01.593  1998  1998 V PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = ViewRoot{6330244 com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher,ident = 0}, this = DecorView@27018d6[UniHomeLauncher]
11-21 23:16:01.605  2316  3040 V FA      : Connection attempt already in progress
11-21 23:16:01.610  2316  3040 V FA      : Activity resumed, time: 129526887
11-21 23:16:01.610   876  5246 I WindowManager: Relayout Window{45c5e06 u0 com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher}: oldVis=8 newVis=0 focusMayChange = true
11-21 23:16:01.622 11427 11427 D Surface : Surface::allocateBuffers(this=0x73bf81e000)
11-21 23:16:01.622 11427 11488 D Surface : Surface::connect(this=0x73bf81e000,api=1)
11-21 23:16:01.624   432   451 I BufferQueueProducer: [com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher#2](this:0x7080d76800,id:1919,api:1,p:11427,c:432) connect(P): api=1 producer=(11427:com.google.android.googlequicksearchbox:search) producerControlledByApp=true
11-21 23:16:01.624  2316  3040 V FA      : Screen exposed for less than 1000 ms. Event not sent. time: 176
11-21 23:16:01.624  2316  3040 V FA      : Connection attempt already in progress
11-21 23:16:01.629  2316  3040 V FA      : Activity paused, time: 129526920
11-21 23:16:01.635 11427 11488 D Surface : Surface::disconnect(this=0x73bf81e000,api=1)
11-21 23:16:01.635   432  1551 I BufferQueueProducer: [com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher#2](this:0x7080d76800,id:1919,api:1,p:11427,c:432) disconnect(P): api 1
11-21 23:16:01.636   432  1551 I BufferQueueConsumer: [com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher#2](this:0x7080d76800,id:1919,api:1,p:-1,c:432) getReleasedBuffers: returning mask 0xffffffffffffffff
11-21 23:16:01.637 11427 11488 W ThreadedRenderer: ThreadedRenderer::detachAnimators pid = 11427 threadid = 11488
11-21 23:16:01.637 11427 11427 D View    : [Warning] assignParent to null: this = DecorView@3203560[UniHomeLauncher]
11-21 23:16:01.643  2316  3040 D FA      : Connected to remote service
11-21 23:16:01.646  2316  3040 V FA      : Processing queued up service tasks: 3
11-21 23:16:01.647   488   488 I thermal_repeater: [recvMdThermalInfo] ret=31, strLen=127,  3, 22, 0, 25433, 32767, -28537
11-21 23:16:01.652  1325  1325 W ResourceType: For resource 0x7f0b001c, entry index(28) is beyond type entryCount(22)
11-21 23:16:01.658 11427 11427 I StreamRenderer: cleanUpRendererScope(nowcards-15-7b8215b-ad01)
11-21 23:16:01.662 11427 11490 W SessionLifecycleManager: Client : AttachedClient[50258051816661757, ClientConfig[mFlags=[10d8100008082] mSuggestFlags=[111] mClientId=ACETONE_NOW mSessionType=search publicSearchServiceCallerUid=-1]] has no associated SessionController
11-21 23:16:01.671   415   677 I vendor.mediatek.hardware.power@1.1-impl: PowerHint hint:8, data:0
11-21 23:16:01.672   415   444 I libPerfService: 8: set gpu level: 3
11-21 23:16:01.676   876  3195 D PMS     : checkProximityLockIncallingReleased:  package=android flags=1
11-21 23:16:01.693 11427 11427 D CubicBezierInterpolator: CubicBezierInterpolator  mControlPoint1x = 0.23, mControlPoint1y = 0.06, mControlPoint2x = 0.09, mControlPoint2y = 0.97
11-21 23:16:01.693 11427 11427 D CubicBezierInterpolator: CubicBezierInterpolator  mControlPoint1x = 0.6, mControlPoint1y = 0.9, mControlPoint2x = 0.8, mControlPoint2y = 1.0
11-21 23:16:01.694 11427 11427 D CubicBezierInterpolator: CubicBezierInterpolator  mControlPoint1x = 0.23, mControlPoint1y = 0.06, mControlPoint2x = 0.09, mControlPoint2y = 0.97
11-21 23:16:01.694 11427 11427 D CubicBezierInterpolator: CubicBezierInterpolator  mControlPoint1x = 0.6, mControlPoint1y = 0.9, mControlPoint2x = 0.8, mControlPoint2y = 1.0
11-21 23:16:01.697   876  3195 D IdleScreen: activityIdleScreen: android.app.ContextImpl@ba4801f mNotifyNeeded: false idleIntent: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000100 cmp=com.huawei.android.launcher/.unihome.UniHomeLauncher }
11-21 23:16:01.698   415   444 I libPerfService: 11: set gpu level: 0
11-21 23:16:01.712 11427 11427 D HwRTBlurUtils: check blur style for HwPhoneWindow-com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher, themeResId : 0x7f1405ec, context : android.view.ContextThemeWrapper@ae44f2c, Nhwext : 0, get Blur : disable with , null
11-21 23:16:01.713 11427 11427 D HwRTBlurUtils: check blur style for HwPhoneWindow-com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher, themeResId : 0x7f1405ec, context : android.view.ContextThemeWrapper@ae44f2c, Nhwext : 0, get Blur : disable with , null
11-21 23:16:01.714 11427 11427 D WindowClient: Add to mViews: DecorView@d1071fb[UniHomeLauncher], this = android.view.WindowManagerGlobal@87b6ff2
11-21 23:16:01.716 11427 11427 D ViewRootImpl[UniHomeLauncher]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
11-21 23:16:01.719   876  3195 V WindowManager: Changing focus from Window{75c1688 u0 com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher} to Window{f8155dc u0 com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher} Callers=com.android.server.wm.WindowManagerService.addWindow:1648 com.android.server.wm.Session.addToDisplay:202 android.view.IWindowSession$Stub.onTransact:124 com.android.server.wm.Session.onTransact:163 
11-21 23:16:01.722   876  3195 D WindowManager: Input focus has changed to Window{f8155dc u0 com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher}
11-21 23:16:01.724   876  1024 I WindowManager: Focus moving from Window{75c1688 u0 com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher} to Window{f8155dc u0 com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher}
11-21 23:16:01.726 11427 11427 V PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = ViewRoot{5dd3218 com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher,ident = 28}, this = DecorView@d1071fb[UniHomeLauncher]
11-21 23:16:01.733 11427 11427 D Surface : lockCanvas
11-21 23:16:01.733 11427 11427 D Surface : Surface::connect(this=0x73bf81e000,api=2)
11-21 23:16:01.733   432   451 I BufferQueueProducer: [com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher#2](this:0x7080d76800,id:1919,api:2,p:11427,c:432) connect(P): api=2 producer=(11427:com.google.android.googlequicksearchbox:search) producerControlledByApp=true
11-21 23:16:01.735 11427 11427 W earchbox:search: type=1400 audit(0.0:56490): avc: denied { getattr } for path="/dev/sw_sync" dev="tmpfs" ino=10273 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:sw_sync_device:s0 tclass=chr_file permissive=0
11-21 23:16:01.739  2316  2316 W FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_max_length_minutes'.
11-21 23:16:01.739  2316  3891 W FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_feature_enabled'.
11-21 23:16:01.740  2316  2316 W FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_cpu_capture_enabled'.
11-21 23:16:01.741  2316  2316 W FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_memory_capture_enabled'.
11-21 23:16:01.742 11841  3798 V FA-SVC  : Logging event: origin=auto,name=screen_view(_vs),params=Bundle[{ga_event_origin(_o)=auto, ga_previous_class(_pc)=MainActivity, ga_previous_id(_pi)=-925497761211035538, ga_screen_class(_sc)=MainActivity, ga_screen_id(_si)=-925497761211035537}]
11-21 23:16:01.743  2316  2316 W FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_max_length_minutes'.
11-21 23:16:01.745  2316  2316 W FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_cpu_capture_frequency_bg_ms'.
11-21 23:16:01.745  2316  2316 W FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_cpu_capture_enabled'.
11-21 23:16:01.746  2316  2316 D FirebasePerformance: Invalid Cpu Metrics collection frequency. Did not collect Cpu Metrics.
11-21 23:16:01.747  2316  2316 W FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_memory_capture_frequency_bg_ms'.
11-21 23:16:01.747  2316  2316 W FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_memory_capture_enabled'.
11-21 23:16:01.748  2316  2316 D FirebasePerformance: Invalid Memory Metrics collection frequency. Did not collect Memory Metrics.
11-21 23:16:01.748  2316  2316 W FirebasePerformance: Invalid gauge collection frequency. Unable to start collecting Gauges.
11-21 23:16:01.750  2316  2316 W FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_max_length_minutes'.
11-21 23:16:01.760   432   451 I BufferQueueProducer: [com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher#2](this:0x7080d76800,id:1919,api:2,p:11427,c:432) queueBuffer: fps=0.74 dur=19010.42 max=18804.93 min=5.76
11-21 23:16:01.767  2316  3894 W FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_max_length_minutes'.
11-21 23:16:01.774  2316  3891 W FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_feature_enabled'.
11-21 23:16:01.778  2316  2406 W System  : ClassLoader referenced unknown path: system/framework/mediatek-cta.jar
11-21 23:16:01.779   432   432 I BufferQueue: [unnamed-432-1921](this:0x7083fd5000,id:1921,api:0,p:-1,c:-1) BufferQueue core=(432:/system/bin/surfaceflinger)
11-21 23:16:01.780   432   432 W GuiExt  : Cannot find GuiExtService
11-21 23:16:01.780   432   432 I BufferQueueConsumer: [unnamed-432-1921](this:0x7083fd5000,id:1921,api:0,p:-1,c:432) connect(C): consumer=(432:/system/bin/surfaceflinger) controlledByApp=false
11-21 23:16:01.780   432   432 I BufferQueueConsumer: [unnamed-432-1921](this:0x7083fd5000,id:1921,api:0,p:-1,c:432) setConsumerName: unnamed-432-1921
11-21 23:16:01.780   432   432 I BufferQueueConsumer: [com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher#0](this:0x7083fd5000,id:1921,api:0,p:-1,c:432) setConsumerName: com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher#0
11-21 23:16:01.781   432   432 I BufferQueueConsumer: [com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher#0](this:0x7083fd5000,id:1921,api:0,p:-1,c:432) setDefaultBufferSize: width=720 height=1440
11-21 23:16:01.784   876  3195 V WindowManager: Changing focus from Window{f8155dc u0 com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher} to Window{75c1688 u0 com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher} Callers=com.android.server.wm.WindowManagerService.relayoutWindow:2248 com.android.server.wm.Session.relayout:239 android.view.IWindowSession$Stub.onTransact:286 com.android.server.wm.Session.onTransact:163 
11-21 23:16:01.785   876  3195 D WindowManager: Input focus has changed to Window{75c1688 u0 com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher}
11-21 23:16:01.787  2316  3891 W FirebaseRemoteConfig: No value of type 'String' exists for parameter key 'sessions_feature_enabled'.
11-21 23:16:01.787  2316  2406 I System.out: e:java.lang.ClassNotFoundException: com.mediatek.cta.CtaHttp
11-21 23:16:01.801 11427 11427 D Surface : Surface::allocateBuffers(this=0x73bac34000)
11-21 23:16:01.801 11427 11488 D Surface : Surface::connect(this=0x73bac34000,api=1)
11-21 23:16:01.802   432  1778 I BufferQueueProducer: [com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher#0](this:0x7083fd5000,id:1921,api:1,p:11427,c:432) connect(P): api=1 producer=(11427:com.google.android.googlequicksearchbox:search) producerControlledByApp=true
11-21 23:16:01.805   876  1024 I WindowManager: Focus moving from Window{f8155dc u0 com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher} to Window{75c1688 u0 com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher}
11-21 23:16:01.811 11427 11427 D Surface : Surface::disconnect(this=0x73bf81e000,api=2)
11-21 23:16:01.812   432   451 I BufferQueueProducer: [com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher#2](this:0x7080d76800,id:1919,api:2,p:11427,c:432) disconnect(P): api 2
11-21 23:16:01.812   432   451 I BufferQueueConsumer: [com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher#2](this:0x7080d76800,id:1919,api:2,p:-1,c:432) getReleasedBuffers: returning mask 0xffffffffffffffff
11-21 23:16:01.815 11841  3798 V FA-SVC  : Saving event, name, data size: screen_view(_vs), 97
11-21 23:16:01.815 11841  3798 V FA-SVC  : Event recorded: Event{appId='com.parkour2342345', name='screen_view(_vs)', params=Bundle[{ga_event_origin(_o)=auto, ga_previous_class(_pc)=MainActivity, ga_previous_id(_pi)=-925497761211035538, ga_screen_class(_sc)=MainActivity, ga_screen_id(_si)=-925497761211035537}]}
11-21 23:16:01.817   432   432 I BufferQueueConsumer: [com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher#2](this:0x7080d76800,id:1919,api:2,p:-1,c:-1) disconnect(C)
11-21 23:16:01.818   432   432 I BufferQueue: [com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher#2](this:0x7080d76800,id:1919,api:2,p:-1,c:-1) ~BufferQueueCore
11-21 23:16:01.825 11841  3798 V FA-SVC  : Upload scheduled in approximately ms: 3285055
11-21 23:16:01.827 11427 11427 D WindowClient: Remove from mViews: DecorView@3203560[UniHomeLauncher], this = android.view.WindowManagerGlobal@87b6ff2
11-21 23:16:01.828  1325  1325 W ResourceType: For resource 0x7f0b001c, entry index(28) is beyond type entryCount(22)
11-21 23:16:01.832 11841  3798 V FA-SVC  : Cancelling job. JobID: 812057698
11-21 23:16:01.834   876  1279 D WifiStateMachine:  MtkL2ConnectedState 18 0, mShouldDeferDisableWifi = false, mWaitForWfcNotify = false
11-21 23:16:01.847 11841  3798 V FA-SVC  : Scheduling upload with GcmTaskService
11-21 23:16:01.847 11841  3798 V FA-SVC  : Scheduling task with Gcm. time: 3285055
11-21 23:16:01.848   876  1017 I ActivityManager: Killing 2145:com.android.chrome/u0a51 (adj 906): empty #17
11-21 23:16:01.849   876  1019 W zygote64: kill(-2145, 9) failed: No such process
11-21 23:16:01.849   876  1019 I zygote64: Successfully killed process cgroup uid 10051 pid 2145 in 0ms
11-21 23:16:01.859   504   641 W JankService: processEntry, not beta version or commercial log off
11-21 23:16:01.873 11427 11427 W ThreadPoolDumper: Queue length for executor EventBus is now 11. Perhaps some tasks are too long, or the pool is too small.
11-21 23:16:01.891 11841  3798 V FA-SVC  : Background event processing time, ms: 130
11-21 23:16:01.901   876  5246 D PMS     : checkProximityLockIncallingAcquired:  package=com.google.android.gms flags=1
11-21 23:16:01.906   876  6742 I WifiService: getWifiEnabledState uid=10041
11-21 23:16:01.924   465   518 D AALLightSensor: newLux = 127, [128, 126] -> 127
11-21 23:16:01.926   876  3195 I WifiService: getWifiEnabledState uid=10041
11-21 23:16:01.934   876  5246 I WifiService: getWifiEnabledState uid=10041
11-21 23:16:01.938   876  5246 I HwNetworkPolicy: onTransact, code = 15
11-21 23:16:01.949   876  5246 D PMS     : checkProximityLockIncallingReleased:  package=com.google.android.gms flags=1
11-21 23:16:01.988 11427 11427 D CubicBezierInterpolator: CubicBezierInterpolator  mControlPoint1x = 0.23, mControlPoint1y = 0.06, mControlPoint2x = 0.09, mControlPoint2y = 0.97
11-21 23:16:01.988 11427 11427 D CubicBezierInterpolator: CubicBezierInterpolator  mControlPoint1x = 0.6, mControlPoint1y = 0.9, mControlPoint2x = 0.8, mControlPoint2y = 1.0
11-21 23:16:01.989 11427 11427 D CubicBezierInterpolator: CubicBezierInterpolator  mControlPoint1x = 0.23, mControlPoint1y = 0.06, mControlPoint2x = 0.09, mControlPoint2y = 0.97
11-21 23:16:01.989 11427 11490 I MicroDetectionState: Should stop hotword detection immediately - false
11-21 23:16:01.989 11427 11427 D CubicBezierInterpolator: CubicBezierInterpolator  mControlPoint1x = 0.6, mControlPoint1y = 0.9, mControlPoint2x = 0.8, mControlPoint2y = 1.0
11-21 23:16:01.994   876  6742 I WifiService: getWifiEnabledState uid=10041
11-21 23:16:01.998 11427 11490 I MicroDetectionWorker: #startMicroDetector [speakerMode: 0]
11-21 23:16:02.002 11427 11490 I AudioController: Created new AudioSource
11-21 23:16:02.007 11427 30098 I MicroDataManager: isInitializing-false locale not changed-true model not changed-true
11-21 23:16:02.007 11427 11490 I MicroDetectionWorker: onReady
11-21 23:16:02.008 11427 30098 I MicroDataManager: Already initialized, obtaining the hotword data immediately.
11-21 23:16:02.017 11427 29169 I MicroRecognitionRunner: Starting detection.
11-21 23:16:02.018 11427 29169 I InputStreamUtils: Using micInputStream
11-21 23:16:02.019 11427 29971 I MicrophoneInputStream: mic_starting  SR : 16000 CC : 16 SO : 1999
11-21 23:16:02.020 11427 29971 D AudioRecord: set(): 0x73bf89f780, inputSource 1999, sampleRate 16000, format 0x1, channelMask 0x10, frameCount 128000, notificationFrames 0, sessionId 0, transferType 0, flags 0, opPackageName com.google.android.googlequicksearchbox uid -1, pid -1
11-21 23:16:02.020   466  1818 D AudioFlinger: event 162 
11-21 23:16:02.027 11427 11427 W NowVeViewportMonitor: Attempting to report viewport hidden that is already hidden.
11-21 23:16:02.029   466  1818 D APM_AudioPolicyManager: getInputForAttr() source 1999, samplingRate 16000, format 1, channelMask 10,session 817, flags 0
11-21 23:16:02.030   406   868 D AudioALSAStreamManager: openInputStream(), devices = 0x80000004, format = 0x1, channels = 0x10, sampleRate = 16000, status = 478, acoustics = 0x0
11-21 23:16:02.030   406   868 D AudioALSAStreamIn: AudioALSAStreamIn()
11-21 23:16:02.030   406   868 D AudioALSAStreamIn: set(), devices = 0x80000004, format = 0x1, channels = 0x10, sampleRate = 16000, acoustics = 0x0, flags = 0
11-21 23:16:02.030   406   868 D AudioALSAStreamIn: CheckBesRecordInfo()
11-21 23:16:02.030   406   868 D AudioSpeechEnhanceInfo: GetBesRecScene() -1
11-21 23:16:02.030   406   868 D AudioSpeechEnhanceInfo: IsBesRecTuningEnable()- 0
11-21 23:16:02.030   406   868 D NVRAM   : getNumMicSupport(), dualMicFlag 0, numMicString 2
11-21 23:16:02.030   406   868 D NVRAM   : QueryFeatureSupportInfo(), feature support bit 0x1a090055 
11-21 23:16:02.030   406   868 D NVRAM   : getNumMicSupport(), dualMicFlag 0, numMicString 2
11-21 23:16:02.030   406   868 D NVRAM   : QueryFeatureSupportInfo(), feature support bit 0x1a090055 
11-21 23:16:02.030   406   868 D AudioSpeechEnhanceInfo: GetForceMagiASRState(), feature_support=1a090055, 0, mForceMagiASR=0
11-21 23:16:02.030   406   868 D AudioSpeechEnhanceInfo: GetForceAECRecState(), mForceAECRec=0
11-21 23:16:02.031   406   868 D AudioALSAStreamIn: checkOpenStreamSampleRate(), origin sampleRate 16000, kDefaultInputSourceSampleRate 48000.
11-21 23:16:02.031   406   868 D AudioALSAStreamIn: set() done, sampleRate = 16000, num_channels = 1, buffer_size=640, tempDebugflag = 0
11-21 23:16:02.031   406   868 D AudioALSAStreamManager: -openInputStream(), in = 0xf5b7ca00, status = 0x0, mStreamInVector.size() = 1
11-21 23:16:02.031   406   868 D AudioALSAStreamIn: -setParameters()
11-21 23:16:02.037   466  1818 D AudioFlinger: event 162 
11-21 23:16:02.038   466  1818 D AudioFlinger: track(0xe7ab2700): mIsOut 0, mFrameCount 128000, mSampleRate 16000, mFormat 1, mChannelCount 1, mTrackCount 85, thread 0xe6583600, sessionId 817
11-21 23:16:02.039 11427 29971 D AudioRecord: openRecord_l: 0x73bf89f780, mCblk = 0x73b9292000
11-21 23:16:02.040  1464  1545 D AudioState: SESSION_ID_NEW, containsKey, pid: 11427, sessionId: 817,uid: 10041
11-21 23:16:02.040 11427 29971 D AudioRecord: start: 0x73bf89f780, sync event 0 trigger session 0
11-21 23:16:02.040   466   703 D APM_AudioPolicyManager: startInput() input 478
11-21 23:16:02.044 11427 11427 I StreamRenderer: maybeRegisterNowCardsScope(nowcards-15-7b86e9b-39d5, com.google.android.sidekick.shared.remoteapi.CardRenderingContext@ef19a45)
11-21 23:16:02.044   466  3901 I AudioFlinger_Threads: AudioFlinger's thread 0xe6583600 tid=3901 ready to run
11-21 23:16:02.044   406   868 D AudioALSAStreamIn: +standby()
11-21 23:16:02.044   406   868 D AudioALSAStreamIn: -standby()
11-21 23:16:02.046   876  5246 D PMS     : checkProximityLockIncallingAcquired:  package=audioserver flags=1
11-21 23:16:02.047   406   868 D AudioALSAHardware: +routing createAudioPatch 80000004->Mixer Src 6
11-21 23:16:02.047   406   868 D AudioALSAStreamManager: +setParameters(), IOport = 478
11-21 23:16:02.047   406   868 D AudioALSAStreamManager: +routingInputDevice(), input_device: 0x80000004 => 0x80000004
11-21 23:16:02.047   406   868 W AudioALSAStreamManager: -routingInputDevice(), input_device == current_input_device(0x80000004), return
11-21 23:16:02.047   406   868 D AudioALSAStreamIn: -setParameters()
11-21 23:16:02.051   466   703 D APM_AudioPolicyManager: event 164
11-21 23:16:02.051 11427 29971 D AudioRecord: start return status 0
11-21 23:16:02.052 11427 29971 I MicrophoneInputStream: mic_started  SR : 16000 CC : 16 SO : 1999
11-21 23:16:02.056   406  3902 D AudioALSAStreamIn: open()
11-21 23:16:02.056   406  3902 D AudioALSAStreamManager: +createCaptureHandler(), mAudioMode = 0, input_source = 6, input_device = 0x80000004, mBypassDualMICProcessUL=0, sample_rate=16000
11-21 23:16:02.056   406  3902 D NVRAM   : getNumMicSupport(), dualMicFlag 0, numMicString 2
11-21 23:16:02.056   406  3902 D NVRAM   : QueryFeatureSupportInfo(), feature support bit 0x1a090055 
11-21 23:16:02.056   406  3902 D AudioALSAStreamManager: -EnableBesRecord(), 1
11-21 23:16:02.056   406  3902 D AudioALSACaptureHandlerBase: AudioALSACaptureHandlerBase()
11-21 23:16:02.057   406  3902 D AudioALSACaptureHandlerNormal: AudioALSACaptureHandlerNormal()
11-21 23:16:02.057   406  3902 D AudioALSACaptureHandlerNormal: init()
11-21 23:16:02.057   406  3902 D AudioALSAStreamManager: -createCaptureHandler(), mCaptureHandlerVector.size() = 1
11-21 23:16:02.057  1464  1545 I DeviceMonitor: Add AudioIn uid:10041 pid:-2
11-21 23:16:02.057   406  3902 D AudioALSACaptureHandlerNormal: +open(), input_device = 0x80000004, input_source = 0x6, sample_rate=16000, num_channels=1
11-21 23:16:02.057   406  3902 D AudioALSACaptureDataClientAurisysNormal: AudioALSACaptureDataClientAurisysNormal(+)
11-21 23:16:02.058  1464  1545 I PGServer: report state:1 event type:1 pid:11427 uid:10041 pkg:null to pid: 876
11-21 23:16:02.058  1464  1545 D AudioState: auido type:in state:start pid:11427 uid:10041
11-21 23:16:02.063   406  3902 D AudioALSACaptureDataProviderBase: configStreamAttribute(), audio_mode: 0 => 0, input_device: 0x80000004 => 0x80000004, flag: 0x0 => 0x0, input_source: 6->6
11-21 23:16:02.063   406  3902 D AudioALSACaptureDataProviderBase: attach(), 0xf478bf00, mCaptureDataClientVector.size()=0, Identity=0xf5b5f680
11-21 23:16:02.063   406  3902 D AudioALSADeviceParser: compare pcm success = 1, stringpair = MultiMedia1_Capture
11-21 23:16:02.063   406  3902 D AudioALSACaptureDataProviderNormal: open(+), audiomode=0, cardindex = 0, pcmindex = 1
11-21 23:16:02.069  1998  2178 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
11-21 23:16:02.070  1998  2178 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
11-21 23:16:02.078   406  3902 D AudioSpeechEnhanceInfo: GetHifiRecord, mHiFiRecordEnable=0
11-21 23:16:02.078   406  3902 D AudioALSACaptureDataProviderNormal: buffersizemax: 49152, bHifiRecord: 0, btempDebug: 0
11-21 23:16:02.078   406  3902 D AudioALSACaptureDataProviderNormal: mConfig format: 1, channels: 1, rate: 48000, period_size: 960, period_count: 4, latency: 20, kReadBufferSize: 3840, mCaptureDropSize: 0
11-21 23:16:02.078   406  3902 D AudioALSADeviceParser: compare pcm success = 1, stringpair = MultiMedia1_Capture
11-21 23:16:02.080   432  1551 I BufferQueueProducer: [com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher#1](this:0x7080d95000,id:1900,api:1,p:1998,c:432) queueBuffer: fps=5.78 dur=1038.02 max=226.28 min=102.22
11-21 23:16:02.080   406  3902 D AudioALSAHardwareResourceManager: +startInputDevice(), new_device = 0x80000004, mInputDevice = 0x0, mStartInputDeviceCount = 0, mMicInverse = 0, mNumPhoneMicSupport = 1
11-21 23:16:02.080   406  3902 D AudioALSADeviceConfigManager: ApplyDeviceSettingByName() DeviceName = Mic1TypeACCMode descriptor->DeviceStatusCounter = 0
11-21 23:16:02.080   406  3902 D AudioALSADeviceConfigManager: ApplyDeviceSettingByName() DeviceName = Mic2TypeACCMode descriptor->DeviceStatusCounter = 0
11-21 23:16:02.081   406  3902 D AudioUtility: IsAudioSupportFeature AUDIO_SUPPORT_DMIC bSupportFlg[0]
11-21 23:16:02.081   406  3902 D AudioALSAHardwareResourceManager: setSingleDmicLoopbackType(), start input = 1, use_single_input = 0, mBuiltInMicSpecificType = 0
11-21 23:16:02.081   406  3902 D AudioALSADeviceConfigManager: ApplyDeviceTurnonSequenceByName() DeviceName = builtin_Mic_SingleMic descriptor->DeviceStatusCounte = 0
11-21 23:16:02.081   406  3902 D AudioALSAHardwareResourceManager: -startInputDevice(), mInputDevice = 0x80000004, mStartInputDeviceCount = 1
11-21 23:16:02.081   406  3902 D AudioALSACaptureDataProviderNormal: open(-)
11-21 23:16:02.081   406  3902 D AudioALSACaptureDataClientAurisysNormal: mLatency 20, mRawDataPeriodBufSize 3840, mProcessedDataPeriodBufSize 640, mEchoRefDataPeriodBufSize 0
11-21 23:16:02.081   406  3902 D AudioMTKGainController: +SetCaptureGain(), mode=0, source=6, input device=0x80000004, output device=0x2
11-21 23:16:02.081   406  3902 D AudioUtility: IsAudioSupportFeature AUDIO_SUPPORT_DMIC bSupportFlg[0]
11-21 23:16:02.081   406  3902 D AudioMTKGainController: ApplyMicGain(), mSceneIndex = 0, _mic_mode = 3, _gain_device = 2, mode = 0, micgain = 27, mULTotalGain = 180, mBand 0, mNetwork 0
11-21 23:16:02.081   406  3902 D AudioMTKGainController: ApplyMicGain(), SetAdcPga1 = 3, SetAdcPga2 = 3
11-21 23:16:02.082   406  3902 D AudioALSACaptureDataClientAurisysNormal: CreateAurisysLibManager(), voip: 0, low_latency: 0, aec: 0, input_source: 6, flag: 0x0 => mAurisysScenario: 3
11-21 23:16:02.082   406  3902 D aurisys_utility: lib, working fs: 48000, fmt: 0x1, frame = 20, b_interleave = 0, num_ul_ref_buf_array = 0, num_dl_ref_buf_array = 0
11-21 23:16:02.082   406  3902 D aurisys_utility: ul in[type:0], ch: 1, ch_mask: 0x0, buf fs: 48000, read data fs: 48000, fmt: 0x1; ul out[type:1], ch: 1, ch_mask: 0x0, buf fs: 48000, read data fs: 48000, fmt: 0x1
11-21 23:16:02.082   406  3902 D aurisys_lib_manager: new_aurisys_lib_manager() done, manager 0xf47953a0, num_uplink_library_hanlder 1, num_downlink_library_hanlder 0
11-21 23:16:02.083   406  3902 D aurisys_utility: input dev: 0x80000004, fmt = 0x4, fs: 48000, max fs: 48000, ch: 1, max ch: 1, ch maks: 0x10, hw_info_mask: 0x0; output dev: 0x2, fmt = 0x0, fs: 0, max fs: 48000, ch: 0, max ch: 2, ch maks: 0x0, hw_info_mask: 0x0; task_scene: 3, audio_mode: 0, output_flags: 0x0, input_source: 6, input_flags: 0x0, enhancement_feature_mask: 0x0
11-21 23:16:02.084   406  3902 D aurisys_lib_handler: aurisys_parsing_param_file(), product_info "vendor=mediatek,model=k97v1_64_op02_lwg_ss_dsp_mp3,device=k97v1_64", file_path "/vendor/etc/aurisys_param/Speech_AudioParam.xml", enhancement_mode 0, param_buf_size 7564, data_size 7564
11-21 23:16:02.084   406  3902 D aurisys_lib_handler: aurisys_arsi_create_handler(), lib_name mtk_speech_enh, 0xf5b69540, memory_size 162784, arsi_handler 0xf43a1740, retval 0
11-21 23:16:02.085   406  3902 D aurisys_lib_manager: UL Lib, lib_name mtk_speech_enh, 0xf5b69540, sample_rate: 48000 => 48000, num_channels: 1 => 1, audio_format: 0x4 => 0x1, interleave: 1 => 0, frame: 0 => 20
11-21 23:16:02.085   406  3902 D MtkAudioSrcInC: InitMtkAudioSrcInC
11-21 23:16:02.086   406  3902 D aurisys_lib_manager: UL out, sample_rate: 48000 => 16000, num_channels: 1 => 1, audio_format: 0x1 => 0x1, interleave: 0 => 1, frame: 20 => 0
11-21 23:16:02.087   406  3902 D MtkAudioSrcInC: InitMtkAudioSrcInC
11-21 23:16:02.087   406  3902 D aurisys_lib_handler: lib_name mtk_speech_enh, 0xf5b69540, set ul_analog_gain_ref_only 18, ul_digital_gain 13, retval 0
11-21 23:16:02.087   406  3902 D AudioPreProcess: AudioPreProcess()+
11-21 23:16:02.087   406  3902 D AudioPreProcess: AudioPreProcess()-
11-21 23:16:02.088   406  3902 D AudioALSACaptureDataClientAurisysNormal: AudioALSACaptureDataClientAurisysNormal(-), drop_ms = 60
11-21 23:16:02.088   406  3902 D AudioVoiceUIDL: [SetUplinkStartTime] mULtime sec 0 nsec 0
11-21 23:16:02.088   406  3902 D AudioALSACaptureHandlerNormal: -open()
11-21 23:16:02.089   432   432 I DisplayDevice: [Built-in Screen (type:0)] fps:29.731869,dur:1042.65,max:153.19,min:14.50
11-21 23:16:02.094   406  3904 D AudioALSACaptureDataClientAurisysNormal: thread processThread_406_3904 created. setpriority ANDROID_PRIORITY_AUDIO done
11-21 23:16:02.112   406  3903 D AudioALSACaptureDataProviderNormal: +readThread(), pid: 406, tid: 3903, kReadBufferSize=0xf00, open_index=56, UPLINK_SET_AMICDCC_BUFFER_TIME_MS = 80, counter=1 
11-21 23:16:02.112   406  3903 D AudioALSACaptureDataProviderBase: pcm_start
11-21 23:16:02.120 11841 23657 I PeopleChimeraService: onService. callbacks = aasd@4eb207, request = com.google.android.gms.common.internal.GetServiceRequest@42a1f34
11-21 23:16:02.133 11826 11826 W ChimeraUtils: Non Chimera context
11-21 23:16:02.133 11826 11826 W ChimeraUtils: Non Chimera context
11-21 23:16:02.134   406  3904 W AudioALSACaptureDataClientAurisysNormal: data_count_raw_ul 0, mRawDataPeriodBufSize 3840
11-21 23:16:02.140  1464  1545 I AppManager: dependence has been existed:11427 -> 11826
11-21 23:16:02.144   406  3904 D MtkAudioSrcInC: OutputSampleCount 606 => 640
11-21 23:16:02.159  1464  1545 I AppManager: dependence has been existed:876 -> 11826
11-21 23:16:02.164 11826 11826 W ChimeraUtils: Non Chimera context
11-21 23:16:02.164 11826 11826 W ChimeraUtils: Non Chimera context
11-21 23:16:02.175 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:5 lineCount:5
11-21 23:16:02.176 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:2 lineCount:2
11-21 23:16:02.176 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:5 lineCount:5
11-21 23:16:02.176 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:2 lineCount:2
11-21 23:16:02.177 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:5 lineCount:5
11-21 23:16:02.177 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:2 lineCount:2
11-21 23:16:02.177 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:5 lineCount:5
11-21 23:16:02.177 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:2 lineCount:2
11-21 23:16:02.196   406  3902 D AudioVoiceUIDL: [SetUplinkStartTime] mULtime sec 39746 nsec 98745879
11-21 23:16:02.198  1464  1545 I AppManager: dependence has been existed:876 -> 11826
11-21 23:16:02.199 11427 11490 I MicroDetectionWorker: onReady
11-21 23:16:02.206 11826 11826 W ChimeraUtils: Non Chimera context
11-21 23:16:02.207 11826 11826 W ChimeraUtils: Non Chimera context
11-21 23:16:02.208 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:5 lineCount:5
11-21 23:16:02.209 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:2 lineCount:2
11-21 23:16:02.209 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:5 lineCount:5
11-21 23:16:02.209 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:2 lineCount:2
11-21 23:16:02.210 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:5 lineCount:5
11-21 23:16:02.210 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:2 lineCount:2
11-21 23:16:02.210 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:5 lineCount:5
11-21 23:16:02.210 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:2 lineCount:2
11-21 23:16:02.223 11427 11438 I zygote64: Background concurrent copying GC freed 145154(6MB) AllocSpace objects, 3(756KB) LOS objects, 35% free, 10MB/16MB, paused 222us total 272.127ms
11-21 23:16:02.229 11427 11436 W FeedDoodleHeaderRndr: finalize() without destroy() a84ddc4
11-21 23:16:02.229 11427 11488 W ThreadedRenderer: ThreadedRenderer::detachAnimators pid = 11427 threadid = 11488
11-21 23:16:02.228 11427 11427 W glide-disk-cach: type=1400 audit(0.0:56491): avc: denied { search } for name="clients" dev="debugfs" ino=7226 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:debugfs_ion:s0 tclass=dir permissive=0
11-21 23:16:02.234 11427 11436 W FeedDoodleHeaderRndr: finalize() without destroy() 4bbf748
11-21 23:16:02.240 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:2 lineCount:2
11-21 23:16:02.235 11427 11427 W glide-disk-cach: type=1400 audit(0.0:56492): avc: denied { search } for name="clients" dev="debugfs" ino=7226 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:debugfs_ion:s0 tclass=dir permissive=0
11-21 23:16:02.240 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:2 lineCount:2
11-21 23:16:02.240   876  1412 D AES     : AEEIOCTL_GET/SET_SF_STATE IOCTL,cmd= 1074294797, lParam=0. 
11-21 23:16:02.240   876  1412 D AES     : AEEIOCTL_RT_MON_Kick IOCTL,cmd= 2147774474, lParam=300. 
11-21 23:16:02.241 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:2 lineCount:2
11-21 23:16:01.945   876  5246 I HwNetworkPolicy: onTransact, code = 15
11-21 23:16:02.241   876  1412 W Watchdog: SWT Watchdog after synchronized:39746194
11-21 23:16:02.242   876  1412 W Watchdog: hungtask: writing kick
11-21 23:16:02.241 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:2 lineCount:2
11-21 23:16:02.250 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:5 lineCount:5
11-21 23:16:02.251 11427 11427 I chatty  : uid=10041 com.google.android.googlequicksearchbox:search identical 2 lines
11-21 23:16:02.251 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:5 lineCount:5
11-21 23:16:02.251 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:2 lineCount:2
11-21 23:16:02.271  1464  1545 I AppManager: dependence has been existed:876 -> 11826
11-21 23:16:02.278 11826 11826 W ChimeraUtils: Non Chimera context
11-21 23:16:02.279 11826 11826 W ChimeraUtils: Non Chimera context
11-21 23:16:02.285 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:5 lineCount:5
11-21 23:16:02.286 11427 11427 I chatty  : uid=10041 com.google.android.googlequicksearchbox:search identical 2 lines
11-21 23:16:02.286 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:5 lineCount:5
11-21 23:16:02.286 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:2 lineCount:2
11-21 23:16:02.288 11427 11427 W StaticLayout: maxLineHeight should not be -1.  maxLines:2 lineCount:2
11-21 23:16:02.290   504   641 W JankService: processEntry, not beta version or commercial log off
11-21 23:16:02.308 11427  3905 D p       : setAvailableAccounts() 0 -> 2.
11-21 23:16:02.309 11427  3905 D p       : modelLoaded
11-21 23:16:02.309 11427  3905 D p       : chooseAccount()
11-21 23:16:02.328 11427  3905 E com.google.common.u.a.d: RuntimeException while executing runnable com.google.android.libraries.onegoogle.accountmenu.c.n@17c4a29 with executor MoreExecutors.directExecutor()
11-21 23:16:02.328 11427  3905 E com.google.common.u.a.d: java.lang.IllegalStateException: API called on wrong thread
11-21 23:16:02.328 11427  3905 E com.google.common.u.a.d: 	at com.google.android.libraries.gsa.monet.shared.a.b.b(SourceFile:15)
11-21 23:16:02.328 11427  3905 E com.google.common.u.a.d: 	at com.google.android.libraries.gsa.monet.b.z.a(SourceFile:3)
11-21 23:16:02.328 11427  3905 E com.google.common.u.a.d: 	at com.google.android.libraries.gsa.monet.internal.b.af.f(SourceFile:72)
11-21 23:16:02.328 11427  3905 E com.google.common.u.a.d: 	at com.google.android.apps.gsa.staticplugins.ci.b.c.j.a(SourceFile:6)
11-21 23:16:02.328 11427  3905 E com.google.common.u.a.d: 	at com.google.android.libraries.onegoogle.accountmenu.accountlayer.p.j(SourceFile:38)
11-21 23:16:02.328 11427  3905 E com.google.common.u.a.d: 	at com.google.android.libraries.onegoogle.accountmenu.accountlayer.p.a(SourceFile:22)
11-21 23:16:02.328 11427  3905 E com.google.common.u.a.d: 	at com.google.android.apps.gsa.staticplugins.ci.b.c.m.a(SourceFile:163)
11-21 23:16:02.328 11427  3905 E com.google.common.u.a.d: 	at com.google.android.apps.gsa.staticplugins.ci.b.c.j.a(SourceFile:3)
11-21 23:16:02.328 11427  3905 E com.google.common.u.a.d: 	at com.google.android.libraries.onegoogle.accountmenu.accountlayer.p.a(SourceFile:71)
11-21 23:16:02.328 11427  3905 E com.google.common.u.a.d: 	at com.google.android.libraries.onegoogle.accountmenu.c.n.run(SourceFile:1)
11-21 23:16:02.328 11427  3905 E com.google.common.u.a.d: 	at com.google.common.u.a.av.execute(SourceFile:4)
11-21 23:16:02.328 11427  3905 E com.google.common.u.a.d: 	at com.google.common.u.a.d.b(SourceFile:77)
11-21 23:16:02.328 11427  3905 E com.google.common.u.a.d: 	at com.google.common.u.a.d.a(SourceFile:76)
11-21 23:16:02.328 11427  3905 E com.google.common.u.a.d: 	at com.google.common.u.a.d.b(SourceFile:171)
11-21 23:16:02.328 11427  3905 E com.google.common.u.a.d: 	at com.google.common.u.a.dk.a(SourceFile:5)
11-21 23:16:02.328 11427  3905 E com.google.common.u.a.d: 	at com.google.common.u.a.cf.run(SourceFile:12)
11-21 23:16:02.328 11427  3905 E com.google.common.u.a.d: 	at com.google.common.u.a.dl.run(SourceFile:11)
11-21 23:16:02.328 11427  3905 E com.google.common.u.a.d: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
11-21 23:16:02.328 11427  3905 E com.google.common.u.a.d: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
11-21 23:16:02.328 11427  3905 E com.google.common.u.a.d: 	at java.lang.Thread.run(Thread.java:780)
11-21 23:16:02.406 11427 11427 V jhw     : call Intent.migrateExtraStreamToClipData(1)
11-21 23:16:02.497 11427 11427 I chatty  : uid=10041 com.google.android.googlequicksearchbox:search identical 19 lines
11-21 23:16:02.499 11427 11427 V jhw     : call Intent.migrateExtraStreamToClipData(1)
11-21 23:16:02.510   504   641 W JankService: processEntry, not beta version or commercial log off
11-21 23:16:02.573  1337  1541 D SystemUiUtil: operator=22601, ret=null
11-21 23:16:02.581   415   677 I vendor.mediatek.hardware.power@1.1-impl: querySysInfo cmd:6, param:0
11-21 23:16:02.581   415   444 I powerd  : [powerd_req] POWER_MSG_QUERY_INFO: cmd:6, param:0
11-21 23:16:02.581   415   444 I libPerfService: perfUserGetCapability - cmd:6, id:0, value:1998
11-21 23:16:03.152   432  1033 I BufferQueueProducer: [com.huawei.android.launcher/com.huawei.android.launcher.unihome.UniHomeLauncher#1](this:0x7080d95000,id:1900,api:1,p:1998,c:432) queueBuffer: fps=1.86 dur=1072.65 max=671.92 min=400.72
11-21 23:16:03.163   432   432 I DisplayDevice: [Built-in Screen (type:0)] fps:18.637489,dur:1073.11,max:504.63,min:9.64
11-21 23:16:03.647  1464  5169 I DownloadState: 1000 stop download over 1min.
11-21 23:16:03.805  2316  2406 W System  : ClassLoader referenced unknown path: system/framework/mediatek-cta.jar
11-21 23:16:03.808  2316  2406 I System.out: e:java.lang.ClassNotFoundException: com.mediatek.cta.CtaHttp
11-21 23:16:03.936   876  4947 D PMS     : checkProximityLockIncallingAcquired:  package=com.android.phone flags=1
11-21 23:16:03.939   876  4947 W ActivityManager: Sending non-protected broadcast com.huawei.intent.action.CSCON_MODE from system 1483:com.android.phone/1001 pkg com.android.phone
11-21 23:16:03.940   876  4947 W ActivityManager: Sending non-protected broadcast com.huawei.intent.action.CSCON_MODE from system 1483:com.android.phone/1001 pkg com.android.phone
11-21 23:16:03.941  1933  1933 E SarControl_Manager: mReceiver.onReceive, enter. action=com.huawei.intent.action.CSCON_MODE
11-21 23:16:03.942  1933  1933 D SarControl_Manager: handleDataConnectionStateChangeCSCON change data connect state subid = 3    slotId = 0  connectState = 0
11-21 23:16:03.942  1933  1933 I SarControl_Manager: handleDataConnectionStateChangeCSCON, isChanged=true, slotId=0, connectstate=0, is_sub0_data_connected=0, is_sub1_data_connected = 0
11-21 23:16:03.942  1933  1933 D SarControl_Manager: mRuleDataCur  : -1, is_sub0_voice=0, is_sub1_voice=0, is_wifi_ap_opened=0, is_sub0_data_connected=0, is_sub1_data_connected=0, is_wifi_connected=1, is_cell_sar_sensor=1, is_headset_insert=0, is_speaker_phoneon=0, is_wifi_p2p_connected=0, sar_cell_reduce=3, sar_wifi_reduce=1, is_usb_ac_charge=0
11-21 23:16:03.942  1933  1933 E SarControl_Manager: checkSarsonserRegistration, is_sub0_big_power=-1, is_sub1_big_power=-1, mSub0IsGSM=false, mSub1IsGSM=false
11-21 23:16:03.942  1933  1933 I SarControl_Manager: unregisterSarSensor, enter
11-21 23:16:03.943   485  1079 I Sar     : enable: handle:71, en:0 

@mikehardy
Copy link
Collaborator

hmm - I feel like I saw something similar before and it was a nasty tangle of old libraries that went away as I was developing earlier this year with 0.59.x.

Is there any way you can get current on react-native 0.59 (0.59.10 if I recall) and have your config look as close to the template from 0.59.10 as possible? https://github.com/facebook/react-native/tree/v0.59.10/template / https://github.com/facebook/react-native/blob/v0.59.10/package.json indicates react was on 16.8.3 -

There is something not-great happening there I think - the error is in the metro package inside react-native, it's not in the app. You may find that a release build works at this point actually

@nicoara
Copy link
Author

nicoara commented Nov 23, 2019

Hello, making the package react as close to the above (0.59.0) has solved the error and the app is now finally running (after months)!
I feel this has been a long journey.
@mikehardy thank you so much ! i looked for a donation to the project and will to that as soon as the magic email lands in my inbox.

@mikehardy
Copy link
Collaborator

Fantastic! And hey, now you are almost current, only the ridiculously painful transition from react-native 0.59 to 0.6x to go 🤣 - but that one at least results in so many improvements (with auto-linking) it's worth it whenever you have time. Good luck with your app

@nicoara
Copy link
Author

nicoara commented Nov 25, 2019

Thanks, but it seems my road is not done yet. Can you advise me?

I get the following error:

/Users/nicoara/.gradle/caches/modules-2/files-2.1/nekohtml/nekohtml/1.9.6.2/2d960be7b62ae6622dbbbe49ab4ffdc609f85c80/nekohtml-1.9.6.2.jar: D8: Type `org.apache.xerces.util.XMLChar` was not found, it is required for default or static interface methods desugaring of `java.lang.String org.cyberneko.html.filters.Purifier.purifyName(java.lang.String, boolean)`
/Users/nicoara/.gradle/caches/modules-2/files-2.1/nekohtml/nekohtml/1.9.6.2/2d960be7b62ae6622dbbbe49ab4ffdc609f85c80/nekohtml-1.9.6.2.jar: D8: Type `org.apache.xerces.impl.Version` was not found, it is required for default or static interface methods desugaring of `int org.cyberneko.html.parsers.DOMParser.getParserSubVersion()`
/Users/nicoara/.gradle/caches/modules-2/files-2.1/nekohtml/nekohtml/1.9.6.2/2d960be7b62ae6622dbbbe49ab4ffdc609f85c80/nekohtml-1.9.6.2.jar: D8: Type `org.apache.xerces.parsers.DOMParser` was not found, it is required for default or static interface methods desugaring of `void org.cyberneko.html.parsers.DOMParser.doctypeDecl(java.lang.String, java.lang.String, java.lang.String, org.apache.xerces.xni.Augmentations)`
/Users/nicoara/Documents/GitHub/Parkour/node_modules/react-native-firebase/android/build/intermediates/intermediate-jars/debug/classes.jar: D8: Type `com.google.android.gms.ads.MobileAds` was not found, it is required for default or static interface methods desugaring of `void io.invertase.firebase.admob.RNFirebaseAdMobRewardedVideo.<init>(java.lang.String, io.invertase.firebase.admob.RNFirebaseAdMob)`
/Users/nicoara/Documents/GitHub/Parkour/node_modules/react-native-firebase/android/build/intermediates/intermediate-jars/debug/classes.jar: D8: Type `com.google.android.gms.ads.MobileAds` was not found, it is required for default or static interface methods desugaring of `void io.invertase.firebase.admob.RNFirebaseAdMob.initialize(java.lang.String)`
/Users/nicoara/Documents/GitHub/Parkour/node_modules/react-native-firebase/android/build/intermediates/intermediate-jars/debug/classes.jar: D8: Type `me.leolin.shortcutbadger.ShortcutBadger` was not found, it is required for default or static interface methods desugaring of `void io.invertase.firebase.notifications.RNFirebaseNotifications.setBadge(int, com.facebook.react.bridge.Promise)`
/Users/nicoara/Documents/GitHub/Parkour/node_modules/react-native-firebase/android/build/intermediates/intermediate-jars/debug/classes.jar: D8: Interface `com.google.android.gms.ads.reward.RewardedVideoAdListener` not found. It's needed to make sure desugaring of `io.invertase.firebase.admob.RNFirebaseAdMobRewardedVideo` is correct. Desugaring will assume that this interface has no default method.

> Task :app:transformClassesWithDexBuilderForDebug
com.android.builder.dexing.DexArchiveBuilderException: com.android.builder.dexing.DexArchiveBuilderException: Failed to process /Users/nicoara/.gradle/caches/modules-2/files-2.1/org.robolectric/robolectric-utils/3.1.4/803d061ec7bd2ad78bcb74fb10caaeeb2dc4a74a/robolectric-utils-3.1.4.jar
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:593)
        at java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:677)
        at java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:720)
        at com.android.ide.common.internal.WaitableExecutor.waitForTasksWithQuickFail(WaitableExecutor.java:146)
        at com.android.build.gradle.internal.transforms.DexArchiveBuilderTransform.transform(DexArchiveBuilderTransform.java:420)
        at com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:239)
        at com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:235)
        at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:102)
        at com.android.build.gradle.internal.pipeline.TransformTask.transform(TransformTask.java:230)
        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:73)
        at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:50)
        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.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)
        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 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
        at java.lang.Thread.run(Thread.java:748)
Caused by: com.android.builder.dexing.DexArchiveBuilderException: Failed to process /Users/nicoara/.gradle/caches/modules-2/files-2.1/org.robolectric/robolectric-utils/3.1.4/803d061ec7bd2ad78bcb74fb10caaeeb2dc4a74a/robolectric-utils-3.1.4.jar
        at com.android.build.gradle.internal.transforms.DexArchiveBuilderTransform.launchProcessing(DexArchiveBuilderTransform.java:909)
        at com.android.build.gradle.internal.transforms.DexArchiveBuilderTransform.lambda$convertToDexArchive$6(DexArchiveBuilderTransform.java:834)
        at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1424)
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
        at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
        at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: com.android.builder.dexing.DexArchiveBuilderException: Error while dexing.
        at com.android.builder.dexing.D8DexArchiveBuilder.getExceptionToRethrow(D8DexArchiveBuilder.java:124)
        at com.android.builder.dexing.D8DexArchiveBuilder.convert(D8DexArchiveBuilder.java:101)
        at com.android.build.gradle.internal.transforms.DexArchiveBuilderTransform.launchProcessing(DexArchiveBuilderTransform.java:904)
        ... 6 more
Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete
        at com.android.tools.r8.utils.ExceptionUtils.withCompilationHandler(ExceptionUtils.java:70)
        at com.android.tools.r8.utils.ExceptionUtils.withD8CompilationHandler(ExceptionUtils.java:43)
        at com.android.tools.r8.D8.run(D8.java:94)
        at com.android.builder.dexing.D8DexArchiveBuilder.convert(D8DexArchiveBuilder.java:99)
        ... 7 more
Caused by: com.android.tools.r8.utils.AbortException: Error: MethodHandle.invoke and MethodHandle.invokeExact are only supported starting with Android O (--min-api 26)
        at com.android.tools.r8.utils.Reporter.failIfPendingErrors(Reporter.java:89)
        at com.android.tools.r8.utils.Reporter.fatalError(Reporter.java:60)
        at com.android.tools.r8.utils.ExceptionUtils.withCompilationHandler(ExceptionUtils.java:64)
        ... 10 more


> Task :app:transformClassesWithDexBuilderForDebug FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:transformClassesWithDexBuilderForDebug'.
> com.android.build.api.transform.TransformException: com.android.builder.dexing.DexArchiveBuilderException: com.android.builder.dexing.DexArchiveBuilderException: Failed to process /Users/nicoara/.gradle/caches/modules-2/files-2.1/org.robolectric/robolectric-utils/3.1.4/803d061ec7bd2ad78bcb74fb10caaeeb2dc4a74a/robolectric-utils-3.1.4.jar

* 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


@mikehardy
Copy link
Collaborator

This doesn't seem like it has anything to do with react-native-firebase. A java compatibility issue with robolectric? Stack overflow had some interesting things but nothing definitive. Java_1_8 mentions and minify mentions, but it's not close enough to firebase for me to know or really help, sorry

@nicoara
Copy link
Author

nicoara commented Dec 2, 2019

@mikehardy please help me out here. many hours after your last response (the error was from react-native-navigation testing libraries), and other bugs fixed, I upload to the Google Play store and get presented with: 'This release is not compliant with the Google Play 64-bit requirement'.

I am stunned by this - I have react-native 0.59.0. What is the lowest RN version that is 64 bit?

Thank you!

@mikehardy
Copy link
Collaborator

react-native 0.59 is 64-bit, react-native 0.58 was the last version that was not.

https://facebook.github.io/react-native/blog/2019/03/12/releasing-react-native-059#updated-jsc-means-performance-gains-and-64-bit-support-on-android

Not sure where are starting out but the upgrade-helper site can show how to get your android build stuff (gradle build scripts) set up correctly perhaps https://react-native-community.github.io/upgrade-helper/?from=0.58.6&to=0.59.0

@nicoara
Copy link
Author

nicoara commented Dec 3, 2019

Thank you. I have slayed the dragon and published on the appstore. Many thanks, good fellow!

@nicoara nicoara closed this as completed Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants