scientifichackers / flutter_pdf_viewer

A native PDF viewer for flutter.
MIT License
107 stars 40 forks source link

Resulting APK is not compatible with both 32 and 64 bit devices #10

Open avasms opened 5 years ago

avasms commented 5 years ago

My release apk run on android version 8.0 (Samsung)but not run on Vivo,HUAWEI,Nokia and Mi(8.0). This error is due to pdf viewer plugin .I try many plugin such as flutter_full_pdf_viewer, flutter_pdf_viewer, pdf_viewer_plugin and pdf_viewer_2 but debug running is Ok.

devxpy commented 5 years ago

Thanks for the report!

But, I'm going to need a little more context to debug your issue-

Steps to Reproduce

Please tell us exactly how to reproduce the problem you are running into.

Please attach a small application (ideally just one main.dart file) that reproduces the problem. You could use https://gist.github.com/ for this.

If the problem is with your application's rendering, then please attach a screenshot and explain what the problem is.

Logs

Run your application with flutter run --verbose and attach all the log output below between the lines with the backticks. If there is an exception, please see if the error message includes enough information to explain how to solve the issue.

Run flutter analyze and attach any output of that command below. If there are any analysis errors, try resolving them before filing this issue.

Finally, paste the output of running flutter doctor -v here.

avasms commented 5 years ago

If we were connected with android phone, debug mode were working .In debug mode, our application is Ok ( running with this comment 'flutter run --verbose' ).But we build apk and then copy, install on Vivo,HUAWEI,Nokia and Mi( greater than android version 7.0) , we get the following error.

mm

mm2

devxpy commented 5 years ago

Okay, can you please paste the output for this?

$ flutter run --release --verbose

(This runs the flutter app in release mode, instead of the default development mode)

avasms commented 5 years ago
              generateDebugAndroidTestAssets: task ':app:generateDebugAndroidTestAssets'
                generateDebugAndroidTestBuildConfig: task ':app:generateDebugAndroidTestBuildConfig'
                generateDebugAndroidTestResValues: task ':app:generateDebugAndroidTestResValues'
                generateDebugAndroidTestResources: task ':app:generateDebugAndroidTestResources'
                generateDebugAndroidTestSources: task ':app:generateDebugAndroidTestSources'
                generateDebugAssets: task ':app:generateDebugAssets'
                generateDebugBuildConfig: task ':app:generateDebugBuildConfig'
                generateDebugFeatureMetadata: task ':app:generateDebugFeatureMetadata'
                generateDebugFeatureTransitiveDeps: task ':app:generateDebugFeatureTransitiveDeps'
                generateDebugResValues: task ':app:generateDebugResValues'
                generateDebugResources: task ':app:generateDebugResources'
                generateDebugSources: task ':app:generateDebugSources'
                generateDebugUnitTestAssets: task ':app:generateDebugUnitTestAssets'
                generateDebugUnitTestResources: task ':app:generateDebugUnitTestResources'
                generateDebugUnitTestSources: task ':app:generateDebugUnitTestSources'
                generateDynamicProfileAssets: task ':app:generateDynamicProfileAssets'
                generateDynamicProfileBuildConfig: task ':app:generateDynamicProfileBuildConfig'
                generateDynamicProfileFeatureMetadata: task ':app:generateDynamicProfileFeatureMetadata'
                generateDynamicProfileFeatureTransitiveDeps: task ':app:generateDynamicProfileFeatureTransitiveDeps'
                generateDynamicProfileResValues: task ':app:generateDynamicProfileResValues'
                generateDynamicProfileResources: task ':app:generateDynamicProfileResources'
                generateDynamicProfileSources: task ':app:generateDynamicProfileSources'
                generateDynamicProfileUnitTestAssets: task ':app:generateDynamicProfileUnitTestAssets'
                generateDynamicProfileUnitTestResources: task ':app:generateDynamicProfileUnitTestResources'
                generateDynamicProfileUnitTestSources: task ':app:generateDynamicProfileUnitTestSources'
                generateDynamicReleaseAssets: task ':app:generateDynamicReleaseAssets'
                generateDynamicReleaseBuildConfig: task ':app:generateDynamicReleaseBuildConfig'
                generateDynamicReleaseFeatureMetadata: task ':app:generateDynamicReleaseFeatureMetadata'
                generateDynamicReleaseFeatureTransitiveDeps: task ':app:generateDynamicReleaseFeatureTransitiveDeps'
                generateDynamicReleaseResValues: task ':app:generateDynamicReleaseResValues'
                generateDynamicReleaseResources: task ':app:generateDynamicReleaseResources'
                generateDynamicReleaseSources: task ':app:generateDynamicReleaseSources'
                generateDynamicReleaseUnitTestAssets: task ':app:generateDynamicReleaseUnitTestAssets'
                generateDynamicReleaseUnitTestResources: task ':app:generateDynamicReleaseUnitTestResources'
                generateDynamicReleaseUnitTestSources: task ':app:generateDynamicReleaseUnitTestSources'
                generateProfileAssets: task ':app:generateProfileAssets'
                generateProfileBuildConfig: task ':app:generateProfileBuildConfig'
                generateProfileFeatureMetadata: task ':app:generateProfileFeatureMetadata'
                generateProfileFeatureTransitiveDeps: task ':app:generateProfileFeatureTransitiveDeps'
                generateProfileResValues: task ':app:generateProfileResValues'
                generateProfileResources: task ':app:generateProfileResources'
                generateProfileSources: task ':app:generateProfileSources'
                generateProfileUnitTestAssets: task ':app:generateProfileUnitTestAssets'
                generateProfileUnitTestResources: task ':app:generateProfileUnitTestResources'
                generateProfileUnitTestSources: task ':app:generateProfileUnitTestSources'
                generateReleaseAssets: task ':app:generateReleaseAssets'
                generateReleaseBuildConfig: task ':app:generateReleaseBuildConfig'
                generateReleaseFeatureMetadata: task ':app:generateReleaseFeatureMetadata'
                generateReleaseFeatureTransitiveDeps: task ':app:generateReleaseFeatureTransitiveDeps'
                generateReleaseResValues: task ':app:generateReleaseResValues'
                generateReleaseResources: task ':app:generateReleaseResources'
                generateReleaseSources: task ':app:generateReleaseSources'
                generateReleaseUnitTestAssets: task ':app:generateReleaseUnitTestAssets'
                generateReleaseUnitTestResources: task ':app:generateReleaseUnitTestResources'
                generateReleaseUnitTestSources: task ':app:generateReleaseUnitTestSources'
                gradle: build 'android'
                group: android
                identityPath: :app
                inheritedScope: org.gradle.api.internal.ExtensibleDynamicObject$InheritedDynamicObject@df559eb
                installDebug: task ':app:installDebug'
                installDebugAndroidTest: task ':app:installDebugAndroidTest'
                installDynamicProfile: task ':app:installDynamicProfile'
                installDynamicRelease: task ':app:installDynamicRelease'
                installProfile: task ':app:installProfile'
                installRelease: task ':app:installRelease'
                java: org.gradle.api.plugins.internal.DefaultJavaPluginExtension_Decorated@2253f353
                javaPreCompileDebug: task ':app:javaPreCompileDebug'
                javaPreCompileDebugAndroidTest: task ':app:javaPreCompileDebugAndroidTest'
                javaPreCompileDebugUnitTest: task ':app:javaPreCompileDebugUnitTest'
                javaPreCompileDynamicProfile: task ':app:javaPreCompileDynamicProfile'
                javaPreCompileDynamicProfileUnitTest: task ':app:javaPreCompileDynamicProfileUnitTest'
                javaPreCompileDynamicRelease: task ':app:javaPreCompileDynamicRelease'
                javaPreCompileDynamicReleaseUnitTest: task ':app:javaPreCompileDynamicReleaseUnitTest'
                javaPreCompileProfile: task ':app:javaPreCompileProfile'
                javaPreCompileProfileUnitTest: task ':app:javaPreCompileProfileUnitTest'
                javaPreCompileRelease: task ':app:javaPreCompileRelease'
                javaPreCompileReleaseUnitTest: task ':app:javaPreCompileReleaseUnitTest'
                layout: org.gradle.api.internal.file.DefaultProjectLayout@94d6135
                libsDir: D:\test_app\build\app\libs
                libsDirName: libs
                lint: task ':app:lint'
                lintDebug: task ':app:lintDebug'
                lintDynamicProfile: task ':app:lintDynamicProfile'
                lintDynamicRelease: task ':app:lintDynamicRelease'
                lintFix: task ':app:lintFix'
                lintProfile: task ':app:lintProfile'
                lintRelease: task ':app:lintRelease'
                lintVitalRelease: task ':app:lintVitalRelease'
                listenerBuildOperationDecorator: org.gradle.configuration.internal.DefaultListenerBuildOperationDecorator@2818d0bb
                logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@17d5ab07
                logging: org.gradle.internal.logging.services.DefaultLoggingManager@f05fe52
                mainApkListPersistenceDebug: task ':app:mainApkListPersistenceDebug'
                mainApkListPersistenceDebugAndroidTest: task ':app:mainApkListPersistenceDebugAndroidTest'
                mainApkListPersistenceDynamicProfile: task ':app:mainApkListPersistenceDynamicProfile'
                mainApkListPersistenceDynamicRelease: task ':app:mainApkListPersistenceDynamicRelease'
                mainApkListPersistenceProfile: task ':app:mainApkListPersistenceProfile'
                mainApkListPersistenceRelease: task ':app:mainApkListPersistenceRelease'
                makeApkFromBundleForDebug: task ':app:makeApkFromBundleForDebug'
                makeApkFromBundleForDynamicProfile: task ':app:makeApkFromBundleForDynamicProfile'
                makeApkFromBundleForDynamicRelease: task ':app:makeApkFromBundleForDynamicRelease'
                makeApkFromBundleForProfile: task ':app:makeApkFromBundleForProfile'
                makeApkFromBundleForRelease: task ':app:makeApkFromBundleForRelease'
                mergeDebugAndroidTestAssets: task ':app:mergeDebugAndroidTestAssets'
                mergeDebugAndroidTestJniLibFolders: task ':app:mergeDebugAndroidTestJniLibFolders'
                mergeDebugAndroidTestResources: task ':app:mergeDebugAndroidTestResources'
                mergeDebugAndroidTestShaders: task ':app:mergeDebugAndroidTestShaders'
                mergeDebugAssets: task ':app:mergeDebugAssets'
                mergeDebugJniLibFolders: task ':app:mergeDebugJniLibFolders'
                mergeDebugResources: task ':app:mergeDebugResources'
                mergeDebugShaders: task ':app:mergeDebugShaders'
                mergeDynamicProfileAssets: task ':app:mergeDynamicProfileAssets'
                mergeDynamicProfileJniLibFolders: task ':app:mergeDynamicProfileJniLibFolders'
                mergeDynamicProfileResources: task ':app:mergeDynamicProfileResources'
                mergeDynamicProfileShaders: task ':app:mergeDynamicProfileShaders'
                mergeDynamicReleaseAssets: task ':app:mergeDynamicReleaseAssets'
                mergeDynamicReleaseJniLibFolders: task ':app:mergeDynamicReleaseJniLibFolders'
                mergeDynamicReleaseResources: task ':app:mergeDynamicReleaseResources'
                mergeDynamicReleaseShaders: task ':app:mergeDynamicReleaseShaders'
                mergeProfileAssets: task ':app:mergeProfileAssets'
                mergeProfileJniLibFolders: task ':app:mergeProfileJniLibFolders'
                mergeProfileResources: task ':app:mergeProfileResources'
                mergeProfileShaders: task ':app:mergeProfileShaders'
                mergeReleaseAssets: task ':app:mergeReleaseAssets'
                mergeReleaseJniLibFolders: task ':app:mergeReleaseJniLibFolders'
                mergeReleaseResources: task ':app:mergeReleaseResources'
                mergeReleaseShaders: task ':app:mergeReleaseShaders'
                modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@32f14d8a
                modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@7a7fb31
                module: org.gradle.api.internal.artifacts.ProjectBackedModule@48da949e
                name: app
                normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@5057d628
                objects: org.gradle.api.internal.model.DefaultObjectFactory@3ea44991
                org.gradle.jvmargs: -Xmx1536M
                packageAppClassesDebug: task ':app:packageAppClassesDebug'
                packageAppClassesDebugAndroidTest: task ':app:packageAppClassesDebugAndroidTest'
                packageAppClassesDebugUnitTest: task ':app:packageAppClassesDebugUnitTest'
                packageAppClassesDynamicProfile: task ':app:packageAppClassesDynamicProfile'
                packageAppClassesDynamicProfileUnitTest: task ':app:packageAppClassesDynamicProfileUnitTest'
                packageAppClassesDynamicRelease: task ':app:packageAppClassesDynamicRelease'
                packageAppClassesDynamicReleaseUnitTest: task ':app:packageAppClassesDynamicReleaseUnitTest'
                packageAppClassesProfile: task ':app:packageAppClassesProfile'
                packageAppClassesProfileUnitTest: task ':app:packageAppClassesProfileUnitTest'
                packageAppClassesRelease: task ':app:packageAppClassesRelease'
                packageAppClassesReleaseUnitTest: task ':app:packageAppClassesReleaseUnitTest'
                packageDebug: task ':app:packageDebug'
                packageDebugAndroidTest: task ':app:packageDebugAndroidTest'
                packageDebugBundle: task ':app:packageDebugBundle'
                packageDebugUniversalApk: task ':app:packageDebugUniversalApk'
                packageDynamicProfile: task ':app:packageDynamicProfile'
                packageDynamicProfileBundle: task ':app:packageDynamicProfileBundle'
                packageDynamicProfileUniversalApk: task ':app:packageDynamicProfileUniversalApk'
                packageDynamicRelease: task ':app:packageDynamicRelease'
                packageDynamicReleaseBundle: task ':app:packageDynamicReleaseBundle'
                packageDynamicReleaseUniversalApk: task ':app:packageDynamicReleaseUniversalApk'
                packageProfile: task ':app:packageProfile'
                packageProfileBundle: task ':app:packageProfileBundle'
                packageProfileUniversalApk: task ':app:packageProfileUniversalApk'
                packageRelease: task ':app:packageRelease'
                packageReleaseBundle: task ':app:packageReleaseBundle'
                packageReleaseUniversalApk: task ':app:packageReleaseUniversalApk'
                parent: root project 'android'
                parentIdentifier: root project 'android'
                path: :app
                pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@1ef3d779
                plugins: [org.gradle.api.plugins.HelpTasksPlugin@26564430, com.android.build.gradle.api.AndroidBasePlugin@485e2044,
                org.gradle.language.base.plugins.LifecycleBasePlugin@54aa001f, org.gradle.api.plugins.BasePlugin@54e25dec,
                org.gradle.api.plugins.ReportingBasePlugin@4081e484, org.gradle.api.plugins.JavaBasePlugin@7964b0d0, com.android.build.gradle.AppPlugin@7dcafd1b,
                FlutterPlugin@3b81d273]
                preBuild: task ':app:preBuild'
                preDebugAndroidTestBuild: task ':app:preDebugAndroidTestBuild'
                preDebugBuild: task ':app:preDebugBuild'
                preDebugUnitTestBuild: task ':app:preDebugUnitTestBuild'
                preDynamicProfileBuild: task ':app:preDynamicProfileBuild'
                preDynamicProfileUnitTestBuild: task ':app:preDynamicProfileUnitTestBuild'
                preDynamicReleaseBuild: task ':app:preDynamicReleaseBuild'
                preDynamicReleaseUnitTestBuild: task ':app:preDynamicReleaseUnitTestBuild'
                preProfileBuild: task ':app:preProfileBuild'
                preProfileUnitTestBuild: task ':app:preProfileUnitTestBuild'
                preReleaseBuild: task ':app:preReleaseBuild'
                preReleaseUnitTestBuild: task ':app:preReleaseUnitTestBuild'
                prepareLintJar: task ':app:prepareLintJar'
                processDebugAndroidTestJavaRes: task ':app:processDebugAndroidTestJavaRes'
                processDebugAndroidTestManifest: task ':app:processDebugAndroidTestManifest'
                processDebugAndroidTestResources: task ':app:processDebugAndroidTestResources'
                processDebugJavaRes: task ':app:processDebugJavaRes'
                processDebugManifest: task ':app:processDebugManifest'
                processDebugResources: task ':app:processDebugResources'
                processDebugUnitTestJavaRes: task ':app:processDebugUnitTestJavaRes'
                processDynamicProfileJavaRes: task ':app:processDynamicProfileJavaRes'
                processDynamicProfileManifest: task ':app:processDynamicProfileManifest'
                processDynamicProfileResources: task ':app:processDynamicProfileResources'
                processDynamicProfileUnitTestJavaRes: task ':app:processDynamicProfileUnitTestJavaRes'
                processDynamicReleaseJavaRes: task ':app:processDynamicReleaseJavaRes'
                processDynamicReleaseManifest: task ':app:processDynamicReleaseManifest'
                processDynamicReleaseResources: task ':app:processDynamicReleaseResources'
                processDynamicReleaseUnitTestJavaRes: task ':app:processDynamicReleaseUnitTestJavaRes'
                processOperations: org.gradle.api.internal.file.DefaultFileOperations@6b189234
                processProfileJavaRes: task ':app:processProfileJavaRes'
                processProfileManifest: task ':app:processProfileManifest'
                processProfileResources: task ':app:processProfileResources'
                processProfileUnitTestJavaRes: task ':app:processProfileUnitTestJavaRes'
                processReleaseJavaRes: task ':app:processReleaseJavaRes'
                processReleaseManifest: task ':app:processReleaseManifest'
                processReleaseResources: task ':app:processReleaseResources'
                processReleaseUnitTestJavaRes: task ':app:processReleaseUnitTestJavaRes'
                project: project ':app'
                projectConfigurator: org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@746ba443
                projectDir: D:\test_app\android\app
                projectEvaluationBroadcaster: ProjectEvaluationListener broadcast
                projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@2855682e
                projectPath: :app
                projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@2dd6a1a
                properties: {...}
                providers: org.gradle.api.internal.provider.DefaultProviderFactory@104d990b
                reportBuildArtifactsDebug: task ':app:reportBuildArtifactsDebug'
                reportBuildArtifactsDynamicProfile: task ':app:reportBuildArtifactsDynamicProfile'
                reportBuildArtifactsDynamicRelease: task ':app:reportBuildArtifactsDynamicRelease'
                reportBuildArtifactsProfile: task ':app:reportBuildArtifactsProfile'
                reportBuildArtifactsRelease: task ':app:reportBuildArtifactsRelease'
                reportSourceSetTransformAndroidTest: task ':app:reportSourceSetTransformAndroidTest'
                reportSourceSetTransformAndroidTestDebug: task ':app:reportSourceSetTransformAndroidTestDebug'
                reportSourceSetTransformDebug: task ':app:reportSourceSetTransformDebug'
                reportSourceSetTransformDynamicProfile: task ':app:reportSourceSetTransformDynamicProfile'
                reportSourceSetTransformDynamicRelease: task ':app:reportSourceSetTransformDynamicRelease'
                reportSourceSetTransformMain: task ':app:reportSourceSetTransformMain'
                reportSourceSetTransformProfile: task ':app:reportSourceSetTransformProfile'
                reportSourceSetTransformRelease: task ':app:reportSourceSetTransformRelease'
                reportSourceSetTransformTest: task ':app:reportSourceSetTransformTest'
                reportSourceSetTransformTestDebug: task ':app:reportSourceSetTransformTestDebug'
                reportSourceSetTransformTestDynamicProfile: task ':app:reportSourceSetTransformTestDynamicProfile'
                reportSourceSetTransformTestDynamicRelease: task ':app:reportSourceSetTransformTestDynamicRelease'
                reportSourceSetTransformTestProfile: task ':app:reportSourceSetTransformTestProfile'
                reportSourceSetTransformTestRelease: task ':app:reportSourceSetTransformTestRelease'
                reporting: org.gradle.api.reporting.ReportingExtension_Decorated@377a2278
                reportsDir: D:\test_app\build\app\reports
                repositories: repository container
                resolveConfigAttr: task ':app:resolveConfigAttr'
                resourceLoader: org.gradle.internal.resource.transfer.DefaultUriTextResourceLoader@1e9ad168
                resources: org.gradle.api.internal.resources.DefaultResourceHandler@1d0dce8d
                rootDir: D:\test_app\android
                rootProject: root project 'android'
                script: false
                scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@74e9fa8c
                scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@12667f8b
                serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@5a3fed3e
                services: ProjectScopeServices
                signingReport: task ':app:signingReport'
                sourceCompatibility: 1.8
                sourceSets: SourceSet container
                splitsDiscoveryTaskDebug: task ':app:splitsDiscoveryTaskDebug'
                splitsDiscoveryTaskDynamicProfile: task ':app:splitsDiscoveryTaskDynamicProfile'
                splitsDiscoveryTaskDynamicRelease: task ':app:splitsDiscoveryTaskDynamicRelease'
                splitsDiscoveryTaskProfile: task ':app:splitsDiscoveryTaskProfile'
                splitsDiscoveryTaskRelease: task ':app:splitsDiscoveryTaskRelease'
                standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@f05fe52
                state: project state 'EXECUTED'
                status: integration
                subprojects: []
                targetCompatibility: 1.8
                tasks: task set
                test: task ':app:test'
                testDebugUnitTest: task ':app:testDebugUnitTest'
                testDynamicProfileUnitTest: task ':app:testDynamicProfileUnitTest'
                testDynamicReleaseUnitTest: task ':app:testDynamicReleaseUnitTest'
                testProfileUnitTest: task ':app:testProfileUnitTest'
                testReleaseUnitTest: task ':app:testReleaseUnitTest'
                testReportDir: D:\test_app\build\app\reports\tests
                testReportDirName: tests
                testResultsDir: D:\test_app\build\app\test-results
                testResultsDirName: test-results
                transformClassesWithDexBuilderForDebug: task ':app:transformClassesWithDexBuilderForDebug'
                transformClassesWithDexBuilderForDebugAndroidTest: task ':app:transformClassesWithDexBuilderForDebugAndroidTest'
                transformClassesWithDexBuilderForDynamicProfile: task ':app:transformClassesWithDexBuilderForDynamicProfile'
                transformClassesWithDexBuilderForDynamicRelease: task ':app:transformClassesWithDexBuilderForDynamicRelease'
                transformClassesWithDexBuilderForProfile: task ':app:transformClassesWithDexBuilderForProfile'
                transformClassesWithDexBuilderForRelease: task ':app:transformClassesWithDexBuilderForRelease'
                transformDexArchiveWithDexMergerForDebug: task ':app:transformDexArchiveWithDexMergerForDebug'
                transformDexArchiveWithDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithDexMergerForDebugAndroidTest'
                transformDexArchiveWithDexMergerForDynamicProfile: task ':app:transformDexArchiveWithDexMergerForDynamicProfile'
                transformDexArchiveWithDexMergerForDynamicRelease: task ':app:transformDexArchiveWithDexMergerForDynamicRelease'
                transformDexArchiveWithDexMergerForProfile: task ':app:transformDexArchiveWithDexMergerForProfile'
                transformDexArchiveWithDexMergerForRelease: task ':app:transformDexArchiveWithDexMergerForRelease'
                transformDexArchiveWithExternalLibsDexMergerForDebug: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'
                transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest'
                transformDexArchiveWithExternalLibsDexMergerForDynamicProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForDynamicProfile'
                transformDexArchiveWithExternalLibsDexMergerForDynamicRelease: task ':app:transformDexArchiveWithExternalLibsDexMergerForDynamicRelease'
                transformDexArchiveWithExternalLibsDexMergerForProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForProfile'
                transformDexArchiveWithExternalLibsDexMergerForRelease: task ':app:transformDexArchiveWithExternalLibsDexMergerForRelease'
                transformNativeLibsWithMergeJniLibsForDebug: task ':app:transformNativeLibsWithMergeJniLibsForDebug'
                transformNativeLibsWithMergeJniLibsForDebugAndroidTest: task ':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest'
                transformNativeLibsWithMergeJniLibsForDynamicProfile: task ':app:transformNativeLibsWithMergeJniLibsForDynamicProfile'
                transformNativeLibsWithMergeJniLibsForDynamicRelease: task ':app:transformNativeLibsWithMergeJniLibsForDynamicRelease'
                transformNativeLibsWithMergeJniLibsForProfile: task ':app:transformNativeLibsWithMergeJniLibsForProfile'
                transformNativeLibsWithMergeJniLibsForRelease: task ':app:transformNativeLibsWithMergeJniLibsForRelease'
                transformResourcesWithMergeJavaResForDebug: task ':app:transformResourcesWithMergeJavaResForDebug'
                transformResourcesWithMergeJavaResForDebugAndroidTest: task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest'
                transformResourcesWithMergeJavaResForDebugUnitTest: task ':app:transformResourcesWithMergeJavaResForDebugUnitTest'
                transformResourcesWithMergeJavaResForDynamicProfile: task ':app:transformResourcesWithMergeJavaResForDynamicProfile'
                transformResourcesWithMergeJavaResForDynamicProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForDynamicProfileUnitTest'
                transformResourcesWithMergeJavaResForDynamicRelease: task ':app:transformResourcesWithMergeJavaResForDynamicRelease'
                transformResourcesWithMergeJavaResForDynamicReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForDynamicReleaseUnitTest'
                transformResourcesWithMergeJavaResForProfile: task ':app:transformResourcesWithMergeJavaResForProfile'
                transformResourcesWithMergeJavaResForProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForProfileUnitTest'
                transformResourcesWithMergeJavaResForRelease: task ':app:transformResourcesWithMergeJavaResForRelease'
                transformResourcesWithMergeJavaResForReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForReleaseUnitTest'
                uninstallAll: task ':app:uninstallAll'
                uninstallDebug: task ':app:uninstallDebug'
                uninstallDebugAndroidTest: task ':app:uninstallDebugAndroidTest'
                uninstallDynamicProfile: task ':app:uninstallDynamicProfile'
                uninstallDynamicRelease: task ':app:uninstallDynamicRelease'
                uninstallProfile: task ':app:uninstallProfile'
                uninstallRelease: task ':app:uninstallRelease'
                validateSigningDebug: task ':app:validateSigningDebug'
                validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest'
                validateSigningDynamicProfile: task ':app:validateSigningDynamicProfile'
                validateSigningDynamicRelease: task ':app:validateSigningDynamicRelease'
                validateSigningProfile: task ':app:validateSigningProfile'
                validateSigningRelease: task ':app:validateSigningRelease'
                version: unspecified
                writeDebugApplicationId: task ':app:writeDebugApplicationId'
                writeDynamicProfileApplicationId: task ':app:writeDynamicProfileApplicationId'
                writeDynamicReleaseApplicationId: task ':app:writeDynamicReleaseApplicationId'
                writeProfileApplicationId: task ':app:writeProfileApplicationId'
                writeReleaseApplicationId: task ':app:writeReleaseApplicationId'
                1 actionable task: 1 executed

[ +48 ms] executing: [D:\test_app\android] D:\test_app\android\gradlew.bat app:tasks --all [+5822 ms]

Task :app:tasks

                ------------------------------------------------------------
                All tasks runnable from project :app
                ------------------------------------------------------------

                Android tasks
                -------------
                androidDependencies - Displays the Android dependencies of the project.
                signingReport - Displays the signing info for each variant.
                sourceSets - Prints out all the source sets defined in this project.

                Build tasks
                -----------
                assemble - Assembles all variants of all applications and secondary packages.
                assembleAndroidTest - Assembles all the Test applications.
                assembleDebug - Assembles all Debug builds.
                assembleDynamicProfile - Assembles all DynamicProfile builds.
                assembleDynamicRelease - Assembles all DynamicRelease builds.
                assembleProfile - Assembles all Profile builds.
                assembleRelease - Assembles all Release builds.
                build - Assembles and tests this project.
                buildDependents - Assembles and tests this project and all projects that depend on it.
                buildNeeded - Assembles and tests this project and all projects it depends on.
                bundleDebug - Creates all Debug bundles.
                bundleDynamicProfile - Creates all DynamicProfile bundles.
                bundleDynamicRelease - Creates all DynamicRelease bundles.
                bundleProfile - Creates all Profile bundles.
                bundleRelease - Creates all Release bundles.
                clean - Deletes the build directory.
                cleanBuildCache - Deletes the build cache directory.
                compileDebugAndroidTestSources
                compileDebugSources
                compileDebugUnitTestSources
                compileDynamicProfileSources
                compileDynamicProfileUnitTestSources
                compileDynamicReleaseSources
                compileDynamicReleaseUnitTestSources
                compileProfileSources
                compileProfileUnitTestSources
                compileReleaseSources
                compileReleaseUnitTestSources

                Cleanup tasks
                -------------
                lintFix - Runs lint on all variants and applies any safe suggestions to the source code.

                Help tasks
                ----------
                buildEnvironment - Displays all buildscript dependencies declared in project ':app'.
                components - Displays the components produced by project ':app'. [incubating]
                dependencies - Displays all dependencies declared in project ':app'.
                dependencyInsight - Displays the insight into a specific dependency in project ':app'.
                dependentComponents - Displays the dependent components of components in project ':app'. [incubating]
                help - Displays a help message.
                model - Displays the configuration model of project ':app'. [incubating]
                projects - Displays the sub-projects of project ':app'.
                properties - Displays the properties of project ':app'.
                tasks - Displays the tasks runnable from project ':app'.

                Install tasks
                -------------
                installDebug - Installs the Debug build.
                installDebugAndroidTest - Installs the android (on device) tests for the Debug build.
                installDynamicProfile - Installs the DynamicProfile build.
                installDynamicRelease - Installs the DynamicRelease build.
                installProfile - Installs the Profile build.
                installRelease - Installs the Release build.
                uninstallAll - Uninstall all applications.
                uninstallDebug - Uninstalls the Debug build.
                uninstallDebugAndroidTest - Uninstalls the android (on device) tests for the Debug build.
                uninstallDynamicProfile - Uninstalls the DynamicProfile build.
                uninstallDynamicRelease - Uninstalls the DynamicRelease build.
                uninstallProfile - Uninstalls the Profile build.
                uninstallRelease - Uninstalls the Release build.

                Verification tasks
                ------------------
                check - Runs all checks.
                connectedAndroidTest - Installs and runs instrumentation tests for all flavors on connected devices.
                connectedCheck - Runs all device checks on currently connected devices.
                connectedDebugAndroidTest - Installs and runs the tests for debug on connected devices.
                deviceAndroidTest - Installs and runs instrumentation tests using all Device Providers.
                deviceCheck - Runs all device checks using Device Providers and Test Servers.
                lint - Runs lint on all variants.
                lintDebug - Runs lint on the Debug build.
                lintDynamicProfile - Runs lint on the DynamicProfile build.
                lintDynamicRelease - Runs lint on the DynamicRelease build.
                lintProfile - Runs lint on the Profile build.
                lintRelease - Runs lint on the Release build.
                lintVitalRelease - Runs lint on just the fatal issues in the release build.
                test - Run unit tests for all variants.
                testDebugUnitTest - Run unit tests for the debug build.
                testDynamicProfileUnitTest - Run unit tests for the dynamicProfile build.
                testDynamicReleaseUnitTest - Run unit tests for the dynamicRelease build.
                testProfileUnitTest - Run unit tests for the profile build.
                testReleaseUnitTest - Run unit tests for the release build.

                Other tasks
                -----------
                assembleDebugAndroidTest
                assembleDebugUnitTest
                assembleDynamicProfileUnitTest
                assembleDynamicReleaseUnitTest
                assembleProfileUnitTest
                assembleReleaseUnitTest
                buildDebugPreBundle
                buildDynamicProfilePreBundle
                buildDynamicReleasePreBundle
                buildProfilePreBundle
                buildReleasePreBundle
                bundle
                bundleDebugAndroidTestResources
                bundleDebugResources
                bundleDynamicProfileResources
                bundleDynamicReleaseResources
                bundleProfileResources
                bundleReleaseResources
                checkDebugAndroidTestClasspath
                checkDebugClasspath
                checkDebugLibraries
                checkDebugManifest
                checkDynamicProfileClasspath
                checkDynamicProfileLibraries
                checkDynamicProfileManifest
                checkDynamicReleaseClasspath
                checkDynamicReleaseLibraries
                checkDynamicReleaseManifest
                checkProfileClasspath
                checkProfileLibraries
                checkProfileManifest
                checkReleaseClasspath
                checkReleaseLibraries
                checkReleaseManifest
                compileDebugAidl
                compileDebugAndroidTestAidl
                compileDebugAndroidTestJavaWithJavac
                compileDebugAndroidTestNdk
                compileDebugAndroidTestRenderscript
                compileDebugAndroidTestShaders
                compileDebugJavaWithJavac
                compileDebugNdk
                compileDebugRenderscript
                compileDebugShaders
                compileDebugUnitTestJavaWithJavac
                compileDynamicProfileAidl
                compileDynamicProfileJavaWithJavac
                compileDynamicProfileNdk
                compileDynamicProfileRenderscript
                compileDynamicProfileShaders
                compileDynamicProfileUnitTestJavaWithJavac
                compileDynamicReleaseAidl
                compileDynamicReleaseJavaWithJavac
                compileDynamicReleaseNdk
                compileDynamicReleaseRenderscript
                compileDynamicReleaseShaders
                compileDynamicReleaseUnitTestJavaWithJavac
                compileLint
                compileProfileAidl
                compileProfileJavaWithJavac
                compileProfileNdk
                compileProfileRenderscript
                compileProfileShaders
                compileProfileUnitTestJavaWithJavac
                compileReleaseAidl
                compileReleaseJavaWithJavac
                compileReleaseNdk
                compileReleaseRenderscript
                compileReleaseShaders
                compileReleaseUnitTestJavaWithJavac
                consumeConfigAttr
                copyFlutterAssetsDebug
                copyFlutterAssetsDynamicProfile
                copyFlutterAssetsDynamicRelease
                copyFlutterAssetsProfile
                copyFlutterAssetsRelease
                createDebugCompatibleScreenManifests
                createDynamicProfileCompatibleScreenManifests
                createDynamicReleaseCompatibleScreenManifests
                createMockableJar
                createProfileCompatibleScreenManifests
                createReleaseCompatibleScreenManifests
                extractApksForDebug
                extractApksForDynamicProfile
                extractApksForDynamicRelease
                extractApksForProfile
                extractApksForRelease
                extractProguardFiles
                flutterBuildDebug
                flutterBuildDynamicProfile
                flutterBuildDynamicRelease
                flutterBuildProfile
                flutterBuildRelease
                flutterBuildX86Jar
                generateDebugAndroidTestAssets
                generateDebugAndroidTestBuildConfig
                generateDebugAndroidTestResources
                generateDebugAndroidTestResValues
                generateDebugAndroidTestSources
                generateDebugAssets
                generateDebugBuildConfig
                generateDebugFeatureMetadata
                generateDebugFeatureTransitiveDeps
                generateDebugResources
                generateDebugResValues
                generateDebugSources
                generateDebugUnitTestAssets
                generateDebugUnitTestResources
                generateDebugUnitTestSources
                generateDynamicProfileAssets
                generateDynamicProfileBuildConfig
                generateDynamicProfileFeatureMetadata
                generateDynamicProfileFeatureTransitiveDeps
                generateDynamicProfileResources
                generateDynamicProfileResValues
                generateDynamicProfileSources
                generateDynamicProfileUnitTestAssets
                generateDynamicProfileUnitTestResources
                generateDynamicProfileUnitTestSources
                generateDynamicReleaseAssets
                generateDynamicReleaseBuildConfig
                generateDynamicReleaseFeatureMetadata
                generateDynamicReleaseFeatureTransitiveDeps
                generateDynamicReleaseResources
                generateDynamicReleaseResValues
                generateDynamicReleaseSources
                generateDynamicReleaseUnitTestAssets
                generateDynamicReleaseUnitTestResources
                generateDynamicReleaseUnitTestSources
                generateProfileAssets
                generateProfileBuildConfig
                generateProfileFeatureMetadata
                generateProfileFeatureTransitiveDeps
                generateProfileResources
                generateProfileResValues
                generateProfileSources
                generateProfileUnitTestAssets
                generateProfileUnitTestResources
                generateProfileUnitTestSources
                generateReleaseAssets
                generateReleaseBuildConfig
                generateReleaseFeatureMetadata
                generateReleaseFeatureTransitiveDeps
                generateReleaseResources
                generateReleaseResValues
                generateReleaseSources
                generateReleaseUnitTestAssets
                generateReleaseUnitTestResources
                generateReleaseUnitTestSources
                javaPreCompileDebug
                javaPreCompileDebugAndroidTest
                javaPreCompileDebugUnitTest
                javaPreCompileDynamicProfile
                javaPreCompileDynamicProfileUnitTest
                javaPreCompileDynamicRelease
                javaPreCompileDynamicReleaseUnitTest
                javaPreCompileProfile
                javaPreCompileProfileUnitTest
                javaPreCompileRelease
                javaPreCompileReleaseUnitTest
                mainApkListPersistenceDebug
                mainApkListPersistenceDebugAndroidTest
                mainApkListPersistenceDynamicProfile
                mainApkListPersistenceDynamicRelease
                mainApkListPersistenceProfile
                mainApkListPersistenceRelease
                makeApkFromBundleForDebug
                makeApkFromBundleForDynamicProfile
                makeApkFromBundleForDynamicRelease
                makeApkFromBundleForProfile
                makeApkFromBundleForRelease
                mergeDebugAndroidTestAssets
                mergeDebugAndroidTestJniLibFolders
                mergeDebugAndroidTestResources
                mergeDebugAndroidTestShaders
                mergeDebugAssets
                mergeDebugJniLibFolders
                mergeDebugResources
                mergeDebugShaders
                mergeDynamicProfileAssets
                mergeDynamicProfileJniLibFolders
                mergeDynamicProfileResources
                mergeDynamicProfileShaders
                mergeDynamicReleaseAssets
                mergeDynamicReleaseJniLibFolders
                mergeDynamicReleaseResources
                mergeDynamicReleaseShaders
                mergeProfileAssets
                mergeProfileJniLibFolders
                mergeProfileResources
                mergeProfileShaders
                mergeReleaseAssets
                mergeReleaseJniLibFolders
                mergeReleaseResources
                mergeReleaseShaders
                packageAppClassesDebug
                packageAppClassesDebugAndroidTest
                packageAppClassesDebugUnitTest
                packageAppClassesDynamicProfile
                packageAppClassesDynamicProfileUnitTest
                packageAppClassesDynamicRelease
                packageAppClassesDynamicReleaseUnitTest
                packageAppClassesProfile
                packageAppClassesProfileUnitTest
                packageAppClassesRelease
                packageAppClassesReleaseUnitTest
                packageDebug
                packageDebugAndroidTest
                packageDebugBundle
                packageDebugUniversalApk
                packageDynamicProfile
                packageDynamicProfileBundle
                packageDynamicProfileUniversalApk
                packageDynamicRelease
                packageDynamicReleaseBundle
                packageDynamicReleaseUniversalApk
                packageProfile
                packageProfileBundle
                packageProfileUniversalApk
                packageRelease
                packageReleaseBundle
                packageReleaseUniversalApk
                preBuild
                preDebugAndroidTestBuild
                preDebugBuild
                preDebugUnitTestBuild
                preDynamicProfileBuild
                preDynamicProfileUnitTestBuild
                preDynamicReleaseBuild
                preDynamicReleaseUnitTestBuild
                prepareLintJar
                preProfileBuild
                preProfileUnitTestBuild
                preReleaseBuild
                preReleaseUnitTestBuild
                processDebugAndroidTestJavaRes
                processDebugAndroidTestManifest
                processDebugAndroidTestResources
                processDebugJavaRes
                processDebugManifest
                processDebugResources
                processDebugUnitTestJavaRes
                processDynamicProfileJavaRes
                processDynamicProfileManifest
                processDynamicProfileResources
                processDynamicProfileUnitTestJavaRes
                processDynamicReleaseJavaRes
                processDynamicReleaseManifest
                processDynamicReleaseResources
                processDynamicReleaseUnitTestJavaRes
                processProfileJavaRes
                processProfileManifest
                processProfileResources
                processProfileUnitTestJavaRes
                processReleaseJavaRes
                processReleaseManifest
                processReleaseResources
                processReleaseUnitTestJavaRes
                reportBuildArtifactsDebug
                reportBuildArtifactsDynamicProfile
                reportBuildArtifactsDynamicRelease
                reportBuildArtifactsProfile
                reportBuildArtifactsRelease
                reportSourceSetTransformAndroidTest
                reportSourceSetTransformAndroidTestDebug
                reportSourceSetTransformDebug
                reportSourceSetTransformDynamicProfile
                reportSourceSetTransformDynamicRelease
                reportSourceSetTransformMain
                reportSourceSetTransformProfile
                reportSourceSetTransformRelease
                reportSourceSetTransformTest
                reportSourceSetTransformTestDebug
                reportSourceSetTransformTestDynamicProfile
                reportSourceSetTransformTestDynamicRelease
                reportSourceSetTransformTestProfile
                reportSourceSetTransformTestRelease
                resolveConfigAttr
                splitsDiscoveryTaskDebug
                splitsDiscoveryTaskDynamicProfile
                splitsDiscoveryTaskDynamicRelease
                splitsDiscoveryTaskProfile
                splitsDiscoveryTaskRelease
                transformClassesWithDexBuilderForDebug
                transformClassesWithDexBuilderForDebugAndroidTest
                transformClassesWithDexBuilderForDynamicProfile
                transformClassesWithDexBuilderForDynamicRelease
                transformClassesWithDexBuilderForProfile
                transformClassesWithDexBuilderForRelease
                transformDexArchiveWithDexMergerForDebug
                transformDexArchiveWithDexMergerForDebugAndroidTest
                transformDexArchiveWithDexMergerForDynamicProfile
                transformDexArchiveWithDexMergerForDynamicRelease
                transformDexArchiveWithDexMergerForProfile
                transformDexArchiveWithDexMergerForRelease
                transformDexArchiveWithExternalLibsDexMergerForDebug
                transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest
                transformDexArchiveWithExternalLibsDexMergerForDynamicProfile
                transformDexArchiveWithExternalLibsDexMergerForDynamicRelease
                transformDexArchiveWithExternalLibsDexMergerForProfile
                transformDexArchiveWithExternalLibsDexMergerForRelease
                transformNativeLibsWithMergeJniLibsForDebug
                transformNativeLibsWithMergeJniLibsForDebugAndroidTest
                transformNativeLibsWithMergeJniLibsForDynamicProfile
                transformNativeLibsWithMergeJniLibsForDynamicRelease
                transformNativeLibsWithMergeJniLibsForProfile
                transformNativeLibsWithMergeJniLibsForRelease
                transformResourcesWithMergeJavaResForDebug
                transformResourcesWithMergeJavaResForDebugAndroidTest
                transformResourcesWithMergeJavaResForDebugUnitTest
                transformResourcesWithMergeJavaResForDynamicProfile
                transformResourcesWithMergeJavaResForDynamicProfileUnitTest
                transformResourcesWithMergeJavaResForDynamicRelease
                transformResourcesWithMergeJavaResForDynamicReleaseUnitTest
                transformResourcesWithMergeJavaResForProfile
                transformResourcesWithMergeJavaResForProfileUnitTest
                transformResourcesWithMergeJavaResForRelease
                transformResourcesWithMergeJavaResForReleaseUnitTest
                validateSigningDebug
                validateSigningDebugAndroidTest
                validateSigningDynamicProfile
                validateSigningDynamicRelease
                validateSigningProfile
                validateSigningRelease
                writeDebugApplicationId
                writeDynamicProfileApplicationId
                writeDynamicReleaseApplicationId
                writeProfileApplicationId
                writeReleaseApplicationId

                Rules
                -----
                Pattern: clean<TaskName>: Cleans the output files of a task.
                Pattern: build<ConfigurationName>: Assembles the artifacts of a configuration.
                Pattern: upload<ConfigurationName>: Assembles and uploads the artifacts belonging to a configuration.
                1 actionable task: 1 executed

[ +33 ms] Resolving dependencies... (completed) [ +3 ms] executing: C:\Users\Lenovo\AppData\Local\Android\sdk\build-tools\28.0.3\aapt dump xmltree D:\test_app\build\app\outputs\apk\app.apk AndroidManifest.xml [+2996 ms] Exit code 0 from: C:\Users\Lenovo\AppData\Local\Android\sdk\build-tools\28.0.3\aapt dump xmltree D:\test_app\build\app\outputs\apk\app.apk AndroidManifest.xml [ +2 ms] N: android=http://schemas.android.com/apk/res/android E: manifest (line=2) A: android:versionCode(0x0101021b)=(type 0x10)0x1 A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0") A: package="com.example.testapp" (Raw: "com.example.testapp") A: platformBuildVersionCode=(type 0x10)0x1 A: platformBuildVersionName="1.0.0" (Raw: "1.0.0") E: uses-sdk (line=7) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1b E: uses-permission (line=16) A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET") E: application (line=24) A: android:label(0x01010001)="test_app" (Raw: "test_app") A: android:icon(0x01010002)=@0x7f090000 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication") A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff E: activity (line=29) A: android:theme(0x01010000)=@0x7f0b0000 A: android:name(0x01010003)="com.example.testapp.MainActivity" (Raw: "com.example.testapp.MainActivity") A: android:launchMode(0x0101001d)=(type 0x10)0x1 A: android:configChanges(0x0101001f)=(type 0x11)0x400035b4 A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10 A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff E: meta-data (line=43) A: android:name(0x01010003)="io.flutter.app.android.SplashScreenUntilFirstFrame" (Raw: "io.flutter.app.android.SplashScreenUntilFirstFrame") A: android:value(0x01010024)=(type 0x12)0xffffffff E: intent-filter (line=47) E: action (line=48) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=50) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: activity (line=53) A: android:theme(0x01010000)=@0x1030129 A: android:name(0x01010003)="com.pycampers.flutterpdfviewer.PdfActivity" (Raw: "com.pycampers.flutterpdfviewer.PdfActivity") E: meta-data (line=57) A: android:name(0x01010003)="android.support.VERSION" (Raw: "android.support.VERSION") A: android:value(0x01010024)="26.1.0" (Raw: "26.1.0") E: meta-data (line=60) A: android:name(0x01010003)="android.arch.lifecycle.VERSION" (Raw: "android.arch.lifecycle.VERSION") A: android:value(0x01010024)="27.0.0-SNAPSHOT" (Raw: "27.0.0-SNAPSHOT") [ +16 ms] Launching lib/main.dart on INE LX2 in release mode... [ +11 ms] executing: C:\Users\Lenovo\AppData\Local\Android\sdk\platform-tools\adb -s JUC4C18923001897 shell -x logcat -v time -t 1 [+1136 ms] Exit code 0 from: C:\Users\Lenovo\AppData\Local\Android\sdk\platform-tools\adb -s JUC4C18923001897 shell -x logcat -v time -t 1 [ +1 ms] --------- beginning of main 12-05 17:21:01.667 I/EventHub( 551): EventHub monitor: no key events in the past 27s, [ +9 ms] executing: C:\Users\Lenovo\AppData\Local\Android\sdk\platform-tools\adb -s JUC4C18923001897 shell -x logcat -v time [+7028 ms] DependencyChecker: nothing is modified after 2018-12-05 16:49:18.000. [ +3 ms] executing: C:\Users\Lenovo\AppData\Local\Android\sdk\platform-tools\adb version [+1992 ms] Android Debug Bridge version 1.0.40 Version 4986621 Installed as C:\Users\Lenovo\AppData\Local\Android\sdk\platform-tools\adb.EXE [ +8 ms] executing: C:\Users\Lenovo\AppData\Local\Android\sdk\platform-tools\adb start-server [+1121 ms] Building APK [ +15 ms] Gradle task 'assembleRelease'... [ +1 ms] executing: [D:\test_app\android] D:\test_app\android\gradlew.bat -Pverbose=true -Ptarget=D:\test_app\lib/main.dart -Ptrack-widget-creation=false -Ptarget-platform=android-arm64 assembleRelease [+1850 ms] > Task :app:checkReleaseClasspath UP-TO-DATE [ ] > Task :app:preBuild UP-TO-DATE [ ] > Task :flutter_pdf_viewer:preBuild UP-TO-DATE [ ] > Task :flutter_pdf_viewer:preReleaseBuild UP-TO-DATE [ ] > Task :flutter_pdf_viewer:checkReleaseManifest UP-TO-DATE [ +101 ms] > Task :flutter_pdf_viewer:processReleaseManifest UP-TO-DATE [ +5 ms] > Task :path_provider:preBuild UP-TO-DATE [ +1 ms] > Task :path_provider:preReleaseBuild UP-TO-DATE [ +1 ms] > Task :path_provider:checkReleaseManifest UP-TO-DATE [ +1 ms] > Task :path_provider:processReleaseManifest UP-TO-DATE [ +1 ms] > Task :app:preReleaseBuild UP-TO-DATE [ +1 ms] > Task :flutter_pdf_viewer:compileReleaseAidl NO-SOURCE [ ] > Task :path_provider:compileReleaseAidl NO-SOURCE [ +2 ms] > Task :app:compileReleaseAidl NO-SOURCE [ +1 ms] > Task :flutter_pdf_viewer:packageReleaseRenderscript NO-SOURCE [ +1 ms] > Task :path_provider:packageReleaseRenderscript NO-SOURCE [ +1 ms] > Task :app:compileReleaseRenderscript UP-TO-DATE [ +1 ms] > Task :app:checkReleaseManifest UP-TO-DATE [ +1 ms] > Task :app:generateReleaseBuildConfig UP-TO-DATE [ +1 ms] > Task :app:prepareLintJar UP-TO-DATE [ ] > Task :app:cleanMergeReleaseAssets [+29967 ms] > Task :app:flutterBuildRelease [+33900 ms] [ +9 ms] executing: [D:\flutter] git rev-parse --abbrev-ref --symbolic @{u} [+2110 ms] [+2154 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ +1 ms] [ +4 ms] origin/beta [ +87 ms] [ +1 ms] executing: [D:\flutter] git rev-parse --abbrev-ref HEAD [+4107 ms] [+4085 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ +4 ms] [ +2 ms] beta [ +1 ms] [ +1 ms] executing: [D:\flutter] git ls-remote --get-url origin [+2087 ms] [+2158 ms] Exit code 0 from: git ls-remote --get-url origin [ +1 ms] [ ] https://github.com/flutter/flutter.git [ +1 ms] [ +1 ms] executing: [D:\flutter] git log -n 1 --pretty=format:%H [+4110 ms] [+4081 ms] Exit code 0 from: git log -n 1 --pretty=format:%H [ +2 ms] [ ] 72bf075e8d6961d2ca6df462b2228954f8d0e73a [ +1 ms] [ +1 ms] executing: [D:\flutter] git log -n 1 --pretty=format:%ar [+2192 ms] [+2177 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar [ ] [ ] 4 weeks ago [ ] [ +2 ms] executing: [D:\flutter] git describe --match v.. --first-parent --long --tags [+4089 ms] [+4122 ms] Exit code 0 from: git describe --match v.. --first-parent --long --tags [ +1 ms] [ ] v0.11.3-0-g72bf075e8 [+5503 ms] [+5466 ms] Found plugin flutter_pdf_viewer at D:\flutter.pub-cache\hosted\pub.dartlang.org\flutter_pdf_viewer-0.0.4\ [ ] [ +10 ms] Found plugin path_provider at D:\flutter.pub-cache\hosted\pub.dartlang.org\path_provider-0.4.1\ [ +98 ms] [ +92 ms] Found plugin flutter_pdf_viewer at D:\flutter.pub-cache\hosted\pub.dartlang.org\flutter_pdf_viewer-0.0.4\ [ ] [ +7 ms] Found plugin path_provider at D:\flutter.pub-cache\hosted\pub.dartlang.org\path_provider-0.4.1\ [ +502 ms] [ +577 ms] Building bundle [ ] [ ] Writing asset files to D:\test_app\build\app\intermediates\flutter\release/flutter_assets [ +97 ms] [ +80 ms] Wrote D:\test_app\build\app\intermediates\flutter\release/flutter_assets [ +1 ms] [ +8 ms] "flutter bundle" took 917ms. [+4108 ms] > Task :app:mergeReleaseShaders UP-TO-DATE [ ] > Task :app:compileReleaseShaders UP-TO-DATE [ ] > Task :app:generateReleaseAssets UP-TO-DATE [ ] > Task :flutter_pdf_viewer:mergeReleaseShaders UP-TO-DATE [ ] > Task :flutter_pdf_viewer:compileReleaseShaders UP-TO-DATE [ ] > Task :flutter_pdf_viewer:generateReleaseAssets UP-TO-DATE [ ] > Task :flutter_pdf_viewer:packageReleaseAssets UP-TO-DATE [ ] > Task :path_provider:mergeReleaseShaders UP-TO-DATE [ ] > Task :path_provider:compileReleaseShaders UP-TO-DATE [ ] > Task :path_provider:generateReleaseAssets UP-TO-DATE [ ] > Task :path_provider:packageReleaseAssets UP-TO-DATE [ ] > Task :app:mergeReleaseAssets [ +88 ms] > Task :app:copyFlutterAssetsRelease [ ] > Task :app:mainApkListPersistenceRelease UP-TO-DATE [ ] > Task :app:generateReleaseResValues UP-TO-DATE [ ] > Task :app:generateReleaseResources UP-TO-DATE [ ] > Task :flutter_pdf_viewer:compileReleaseRenderscript UP-TO-DATE [ ] > Task :flutter_pdf_viewer:generateReleaseResValues UP-TO-DATE [ ] > Task :flutter_pdf_viewer:generateReleaseResources UP-TO-DATE [ +94 ms] > Task :flutter_pdf_viewer:packageReleaseResources UP-TO-DATE [ ] > Task :path_provider:compileReleaseRenderscript UP-TO-DATE [ ] > Task :path_provider:generateReleaseResValues UP-TO-DATE [ ] > Task :path_provider:generateReleaseResources UP-TO-DATE [ ] > Task :path_provider:packageReleaseResources UP-TO-DATE [ +102 ms] > Task :app:mergeReleaseResources UP-TO-DATE [ +3 ms] > Task :app:createReleaseCompatibleScreenManifests UP-TO-DATE [ +1 ms] > Task :app:processReleaseManifest UP-TO-DATE [ +1 ms] > Task :app:splitsDiscoveryTaskRelease UP-TO-DATE [ +186 ms] > Task :flutter_pdf_viewer:generateReleaseRFile UP-TO-DATE [ ] > Task :path_provider:generateReleaseRFile UP-TO-DATE [ ] > Task :app:processReleaseResources UP-TO-DATE [ ] > Task :app:generateReleaseSources UP-TO-DATE [ ] > Task :flutter_pdf_viewer:generateReleaseBuildConfig UP-TO-DATE [ ] > Task :flutter_pdf_viewer:prepareLintJar UP-TO-DATE [ ] > Task :flutter_pdf_viewer:generateReleaseSources UP-TO-DATE [ +799 ms] > Task :flutter_pdf_viewer:javaPreCompileRelease [ +101 ms] > Task :flutter_pdf_viewer:compileReleaseJavaWithJavac UP-TO-DATE [ +1 ms] > Task :flutter_pdf_viewer:processReleaseJavaRes NO-SOURCE [ +1 ms] > Task :flutter_pdf_viewer:transformClassesAndResourcesWithPrepareIntermediateJarsForRelease UP-TO-DATE [ ] > Task :path_provider:generateReleaseBuildConfig UP-TO-DATE [ ] > Task :path_provider:prepareLintJar UP-TO-DATE [ ] > Task :path_provider:generateReleaseSources UP-TO-DATE [ ] > Task :path_provider:javaPreCompileRelease [ ] > Task :path_provider:compileReleaseJavaWithJavac UP-TO-DATE [ ] > Task :path_provider:processReleaseJavaRes NO-SOURCE [ ] > Task :path_provider:transformClassesAndResourcesWithPrepareIntermediateJarsForRelease UP-TO-DATE [ ] > Task :app:javaPreCompileRelease [ ] > Task :app:compileReleaseJavaWithJavac UP-TO-DATE [ ] > Task :app:compileReleaseNdk NO-SOURCE [ ] > Task :app:compileReleaseSources UP-TO-DATE [+4595 ms] > Task :app:lintVitalRelease [+1501 ms] > Task :app:transformClassesWithDexBuilderForRelease [ +293 ms] > Task :app:transformDexArchiveWithExternalLibsDexMergerForRelease [ +210 ms] > Task :app:transformDexArchiveWithDexMergerForRelease [ ] > Task :app:mergeReleaseJniLibFolders UP-TO-DATE [ ] > Task :flutter_pdf_viewer:compileReleaseNdk NO-SOURCE [ ] > Task :flutter_pdf_viewer:mergeReleaseJniLibFolders UP-TO-DATE [ +2 ms] > Task :flutter_pdf_viewer:transformNativeLibsWithMergeJniLibsForRelease UP-TO-DATE [ ] > Task :flutter_pdf_viewer:transformNativeLibsWithIntermediateJniLibsForRelease UP-TO-DATE [ ] > Task :path_provider:compileReleaseNdk NO-SOURCE [ ] > Task :path_provider:mergeReleaseJniLibFolders UP-TO-DATE [ ] > Task :path_provider:transformNativeLibsWithMergeJniLibsForRelease UP-TO-DATE [ ] > Task :path_provider:transformNativeLibsWithIntermediateJniLibsForRelease UP-TO-DATE [+5080 ms] > Task :app:transformNativeLibsWithMergeJniLibsForRelease [ ] > Task :app:checkReleaseLibraries UP-TO-DATE [ ] > Task :app:processReleaseJavaRes NO-SOURCE [ +909 ms] > Task :app:transformResourcesWithMergeJavaResForRelease [ ] > Task :app:validateSigningRelease UP-TO-DATE [+12400 ms] > Task :app:packageRelease [ ] > Task :app:assembleRelease [ +190 ms] > Task :flutter_pdf_viewer:extractReleaseAnnotations [ ] > Task :flutter_pdf_viewer:mergeReleaseConsumerProguardFiles UP-TO-DATE [ ] > Task :flutter_pdf_viewer:transformResourcesWithMergeJavaResForRelease UP-TO-DATE [ ] > Task :flutter_pdf_viewer:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE [ ] > Task :flutter_pdf_viewer:transformNativeLibsWithSyncJniLibsForRelease UP-TO-DATE [ ] > Task :flutter_pdf_viewer:bundleReleaseAar UP-TO-DATE [ ] > Task :flutter_pdf_viewer:compileReleaseSources UP-TO-DATE [ +94 ms] > Task :flutter_pdf_viewer:mergeReleaseResources UP-TO-DATE [ +1 ms] > Task :flutter_pdf_viewer:verifyReleaseResources UP-TO-DATE [ +1 ms] > Task :flutter_pdf_viewer:assembleRelease UP-TO-DATE [ +100 ms] > Task :path_provider:extractReleaseAnnotations [ +1 ms] > Task :path_provider:mergeReleaseConsumerProguardFiles UP-TO-DATE [ ] > Task :path_provider:transformResourcesWithMergeJavaResForRelease UP-TO-DATE [ ] > Task :path_provider:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE [ ] > Task :path_provider:transformNativeLibsWithSyncJniLibsForRelease UP-TO-DATE [ ] > Task :path_provider:bundleReleaseAar UP-TO-DATE [ ] > Task :path_provider:compileReleaseSources UP-TO-DATE [ ] > Task :path_provider:mergeReleaseResources UP-TO-DATE [ ] > Task :path_provider:verifyReleaseResources UP-TO-DATE [ ] > Task :path_provider:assembleRelease UP-TO-DATE [ ] 81 actionable tasks: 16 executed, 65 up-to-date [+3624 ms] Gradle task 'assembleRelease'... (completed) [ +361 ms] calculateSha: LocalDirectory: 'D:\test_app\build\app\outputs\apk'/app.apk [ +370 ms] Built build\app\outputs\apk\release\app-release.apk (23.9MB). [ +12 ms] executing: C:\Users\Lenovo\AppData\Local\Android\sdk\build-tools\28.0.3\aapt dump xmltree D:\test_app\build\app\outputs\apk\app.apk AndroidManifest.xml [+2327 ms] Exit code 0 from: C:\Users\Lenovo\AppData\Local\Android\sdk\build-tools\28.0.3\aapt dump xmltree D:\test_app\build\app\outputs\apk\app.apk AndroidManifest.xml [ +3 ms] N: android=http://schemas.android.com/apk/res/android E: manifest (line=2) A: android:versionCode(0x0101021b)=(type 0x10)0x1 A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0") A: package="com.example.testapp" (Raw: "com.example.testapp") A: platformBuildVersionCode=(type 0x10)0x1 A: platformBuildVersionName="1.0.0" (Raw: "1.0.0") E: uses-sdk (line=7) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1b E: uses-permission (line=16) A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET") E: application (line=24) A: android:label(0x01010001)="test_app" (Raw: "test_app") A: android:icon(0x01010002)=@0x7f090000 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication") E: activity (line=28) A: android:theme(0x01010000)=@0x7f0b0000 A: android:name(0x01010003)="com.example.testapp.MainActivity" (Raw: "com.example.testapp.MainActivity") A: android:launchMode(0x0101001d)=(type 0x10)0x1 A: android:configChanges(0x0101001f)=(type 0x11)0x400035b4 A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10 A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff E: meta-data (line=42) A: android:name(0x01010003)="io.flutter.app.android.SplashScreenUntilFirstFrame" (Raw: "io.flutter.app.android.SplashScreenUntilFirstFrame") A: android:value(0x01010024)=(type 0x12)0xffffffff E: intent-filter (line=46) E: action (line=47) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=49) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: activity (line=52) A: android:theme(0x01010000)=@0x1030129 A: android:name(0x01010003)="com.pycampers.flutterpdfviewer.PdfActivity" (Raw: "com.pycampers.flutterpdfviewer.PdfActivity") E: meta-data (line=56) A: android:name(0x01010003)="android.support.VERSION" (Raw: "android.support.VERSION") A: android:value(0x01010024)="26.1.0" (Raw: "26.1.0") E: meta-data (line=59) A: android:name(0x01010003)="android.arch.lifecycle.VERSION" (Raw: "android.arch.lifecycle.VERSION") A: android:value(0x01010024)="27.0.0-SNAPSHOT" (Raw: "27.0.0-SNAPSHOT") [ +7 ms] Stopping app 'app.apk' on INE LX2. [ +2 ms] executing: C:\Users\Lenovo\AppData\Local\Android\sdk\platform-tools\adb -s JUC4C18923001897 shell am force-stop com.example.testapp [+1193 ms] executing: C:\Users\Lenovo\AppData\Local\Android\sdk\platform-tools\adb -s JUC4C18923001897 shell pm list packages com.example.testapp [+1628 ms] package:com.example.testapp [ +13 ms] executing: C:\Users\Lenovo\AppData\Local\Android\sdk\platform-tools\adb -s JUC4C18923001897 shell cat /data/local/tmp/sky.com.example.testapp.sha1 [+3101 ms] 7fa7d4c4110275b30a6090625549169bc692813e [ +3 ms] Installing APK. [ +5 ms] executing: C:\Users\Lenovo\AppData\Local\Android\sdk\platform-tools\adb version [+1084 ms] Android Debug Bridge version 1.0.40 Version 4986621 Installed as C:\Users\Lenovo\AppData\Local\Android\sdk\platform-tools\adb.EXE [ +2 ms] executing: C:\Users\Lenovo\AppData\Local\Android\sdk\platform-tools\adb start-server [+1091 ms] Installing build\app\outputs\apk\app.apk... [ +1 ms] executing: C:\Users\Lenovo\AppData\Local\Android\sdk\platform-tools\adb -s JUC4C18923001897 install -t -r D:\test_app\build\app\outputs\apk\app.apk [+6029 ms] Success [ ] Installing build\app\outputs\apk\app.apk... (completed) [ +3 ms] executing: C:\Users\Lenovo\AppData\Local\Android\sdk\platform-tools\adb -s JUC4C18923001897 shell echo -n 6c984b3c2ac1735f5a0c6ba6a54fb23b0a7f3dbe > /data/local/tmp/sky.com.example.testapp.sha1 [+3090 ms] INE LX2 startApp [ +3 ms] executing: C:\Users\Lenovo\AppData\Local\Android\sdk\platform-tools\adb -s JUC4C18923001897 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true com.example.testapp/com.example.testapp.MainActivity [+1190 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.testapp/.MainActivity (has extras) } [ +3 ms] Application running. [ +6 ms] To quit, press "q".

devxpy commented 5 years ago

And after this it just crashes?

dariotrombello commented 5 years ago

Same issue. Works with samsung but not with Huawei. When opening the my app on the honor 8x it closes again.

devxpy commented 5 years ago

I think we're going to need adb logs to debug this.

Please run adb logcat from your computer. Attach the logs around the point where it crashes.

We should hopefully, be able to see at least some kind of error revealing the reason for the crash...

devxpy commented 5 years ago

FWIW, I tried on a Xiaomi device, and the example seems to work fine.

avasms commented 5 years ago

Yes, but Xiaomi ( Android version 7 and above ) does not work fine.

dariotrombello commented 5 years ago

Logcat of the Honor 8x: https://gist.github.com/Borduni/218cbe0d0f9235fda739f23dbd61a0b4

devxpy commented 5 years ago

At first glance, I see the following -

[...] AndroidRuntime: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[...] couldn't find "libflutter.so"

Looks related to https://github.com/flutter/flutter/issues/18939 or https://github.com/flutter/flutter/issues/18494

Since Honor 8x has a 64-bit CPU, I might need to change build.gradle. Let me see if I can arrange a 64-bit test device for myself.

dariotrombello commented 5 years ago

Compilation with flutter build apk --target-platform=android-arm64 works.. but not for 32 bit devices

devxpy commented 5 years ago

@Borduni I don't think we can do much here. Upstream seems to suffer from the same.

Meanwhile, are you guys able to distribute separate 32 and 64 bit apks?

dariotrombello commented 5 years ago

I haven't released my app yet but I think its possible as a google play developer to upload a 32 and a 64 bit variant of the app

phaylali commented 5 years ago

I had this problem and I fixed it , use ndk {abiFilters="armeabi-v7a"} inside the default config of gradle app build , this will result in making a 32-bit apk that works for 64-bit devices with half the size , I'm pretty sure it will work that way, so you can close this issue

phaylali commented 5 years ago

do an apk analyze and see which packages in the lib folder , if you found arm and arm64 then you may have a problem of conflicting packages especially in finding libflutter.io , by using the the abi filters as I mentioned above you will find one package just for arm which does work by arm64 devices

devxpy commented 5 years ago

The issue is that flutter will only add libflutter.so to one selected platform folder in the release APK.

The workaround you suggested, unfortunately, seems to only work for some people not all.

bishworajpoudelofficial commented 5 years ago

I just published app to play store. App crashes on some devices.

devxpy commented 5 years ago

@itsmebrp let me see if I can publish multiple apks to the play store.

(There is a section in readme about it, but I haven't actually tried to upload to play store myself.

hwkd commented 5 years ago

Same issue here. I have no idea what the problem is and I cannot find a fix. I have a deadline to meet. Has anybody found a solution...

MarcelEdward commented 5 years ago

Arg, this sounds like a bummer.

The play store will require 64 bit starting on the 1 August.

Assuming there will still be 32bit devices wanting to run our apps after 1 august, how to make sure 32bit AND 64bit is included in release builds ?

https://android-developers.googleblog.com/2019/01/get-your-apps-ready-for-64-bit.html

devxpy commented 5 years ago

Begging the flutter developers at https://github.com/flutter/flutter/issues/18494 seems to be the only way.

Let's hope these guys solve the issue in time!

hwkd commented 5 years ago

The solution @afamobius provided worked for me. It also reduced 30MB apk size to 13MB and worked on all the devices I tested so far (on about 8 different models). However I would be happy to know what the alternative solutions are.

JTrembl1 commented 5 years ago

I do not see the solution that was referred to by @hwkd from @afamobius

devxpy commented 5 years ago

Looks like this is fixed -- https://github.com/flutter/flutter/issues/18494#issuecomment-509326263.

Docs on this - https://flutter.dev/docs/deployment/android#build-an-apk

abdullah432 commented 3 years ago

Still getting the issue after upgrading to 2.0. I'm not sure that cause the issue or something else but never get this issue before

phaylali commented 3 years ago

Still getting the issue after upgrading to 2.0. I'm not sure that cause the issue or something else but never get this issue before

this project is abandoned, unless someone forks it to fix it and update it, it's useless, such a shame that the best pdf plugin died, but that's what it is , it's dead