Flutter : my application stopping when i used full_pdf_viewer The Next CEO of Stack OverflowStop EditText from gaining focus at Activity startupGot errors when running flutter test commandUnexpected vertical lines between container elements of a rowDart SDK is not configuredFlutter iOS not using podsGoogle Play error when uploading Flutter app debuggableIssue with external keyboard emulation with usb RFID ReaderMake labelText of TextFormField Right to Left in Fluttervisual studio can't create an emulator for flutter applicationsFlutter Firebase Project won't compile after 'pod update'

Create custom note boxes

How do I secure a TV wall mount?

Why did early computer designers eschew integers?

Man transported from Alternate World into ours by a Neutrino Detector

Calculating discount not working

How can I separate the number from the unit in argument?

Creating a script with console commands

My ex-girlfriend uses my Apple ID to login to her iPad, do I have to give her my Apple ID password to reset it?

How can I prove that a state of equilibrium is unstable?

How can a day be of 24 hours?

Is it possible to make a 9x9 table fit within the default margins?

Masking layers by a vector polygon layer in QGIS

Is it okay to majorly distort historical facts while writing a fiction story?

Is it reasonable to ask other researchers to send me their previous grant applications?

Free fall ellipse or parabola?

Why doesn't Shulchan Aruch include the laws of destroying fruit trees?

pgfplots: How to draw a tangent graph below two others?

Calculate the Mean mean of two numbers

Cannot restore registry to default in Windows 10?

What difference does it make matching a word with/without a trailing whitespace?

That's an odd coin - I wonder why

Planeswalker Ability and Death Timing

Early programmable calculators with RS-232

Is there a rule of thumb for determining the amount one should accept for a settlement offer?



Flutter : my application stopping when i used full_pdf_viewer



The Next CEO of Stack OverflowStop EditText from gaining focus at Activity startupGot errors when running flutter test commandUnexpected vertical lines between container elements of a rowDart SDK is not configuredFlutter iOS not using podsGoogle Play error when uploading Flutter app debuggableIssue with external keyboard emulation with usb RFID ReaderMake labelText of TextFormField Right to Left in Fluttervisual studio can't create an emulator for flutter applicationsFlutter Firebase Project won't compile after 'pod update'










0















The problem is when running an app on debug mode my app work normally , but in when i release my apk " Flutter build apk " the app Stopped don't work
enter image description here
and when i remove full_pdf_viewer from dependencies

the apk work normally



this is my dependencies:



 cupertino_icons: ^0.1.2
cloud_firestore: ^0.8.0
connectivity: 0.3.0
url_launcher: 4.0.2
firebase_admob: ^0.5.2
dio: 1.0.0
path_provider: any
random_pk: any
flutter_full_pdf_viewer: 1.0.2


Flutter doctor



[✓] Flutter (Channel stable, v1.2.1, on Linux, locale en_US.UTF-8)
• Flutter version 1.2.1 at /home/asouab/programation/flutter_linux_v1.0.0-stable/flutter
• Framework revision 8661d8aecd (3 weeks ago), 2019-02-14 19:19:53 -0800
• Engine revision 3757390fa4
• Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /home/asouab/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /snap/android-studio/71/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
• All Android licenses accepted.

[✓] Android Studio (version 3.3)
• Android Studio at /snap/android-studio/71/android-studio
• Flutter plugin version 33.1.1
• Dart plugin version 182.5215
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[✓] VS Code (version 1.31.1)
• VS Code at /usr/share/code
• Flutter extension version 2.24.0

[✓] Connected device (1 available)
• Android SDK built for x86 • emulator-5556 • android-x86 • Android 7.1.1 (API 25) (emulator)

• No issues found!









share|improve this question






















  • Hello and welcome to SO! Do you have some output to post? Any error? StackTrace? What platform are you using to exeute the application? Emulator(android or ios)? Or physical device??

    – Roberto Manfreda
    Mar 8 at 21:53











  • First try importing latest release: flutter_full_pdf_viewer: ˆ1.0.4

    – Roberto Manfreda
    Mar 8 at 22:00















0















The problem is when running an app on debug mode my app work normally , but in when i release my apk " Flutter build apk " the app Stopped don't work
enter image description here
and when i remove full_pdf_viewer from dependencies

the apk work normally



this is my dependencies:



 cupertino_icons: ^0.1.2
cloud_firestore: ^0.8.0
connectivity: 0.3.0
url_launcher: 4.0.2
firebase_admob: ^0.5.2
dio: 1.0.0
path_provider: any
random_pk: any
flutter_full_pdf_viewer: 1.0.2


Flutter doctor



[✓] Flutter (Channel stable, v1.2.1, on Linux, locale en_US.UTF-8)
• Flutter version 1.2.1 at /home/asouab/programation/flutter_linux_v1.0.0-stable/flutter
• Framework revision 8661d8aecd (3 weeks ago), 2019-02-14 19:19:53 -0800
• Engine revision 3757390fa4
• Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /home/asouab/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /snap/android-studio/71/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
• All Android licenses accepted.

[✓] Android Studio (version 3.3)
• Android Studio at /snap/android-studio/71/android-studio
• Flutter plugin version 33.1.1
• Dart plugin version 182.5215
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[✓] VS Code (version 1.31.1)
• VS Code at /usr/share/code
• Flutter extension version 2.24.0

[✓] Connected device (1 available)
• Android SDK built for x86 • emulator-5556 • android-x86 • Android 7.1.1 (API 25) (emulator)

• No issues found!









share|improve this question






















  • Hello and welcome to SO! Do you have some output to post? Any error? StackTrace? What platform are you using to exeute the application? Emulator(android or ios)? Or physical device??

    – Roberto Manfreda
    Mar 8 at 21:53











  • First try importing latest release: flutter_full_pdf_viewer: ˆ1.0.4

    – Roberto Manfreda
    Mar 8 at 22:00













0












0








0








The problem is when running an app on debug mode my app work normally , but in when i release my apk " Flutter build apk " the app Stopped don't work
enter image description here
and when i remove full_pdf_viewer from dependencies

the apk work normally



this is my dependencies:



 cupertino_icons: ^0.1.2
cloud_firestore: ^0.8.0
connectivity: 0.3.0
url_launcher: 4.0.2
firebase_admob: ^0.5.2
dio: 1.0.0
path_provider: any
random_pk: any
flutter_full_pdf_viewer: 1.0.2


Flutter doctor



[✓] Flutter (Channel stable, v1.2.1, on Linux, locale en_US.UTF-8)
• Flutter version 1.2.1 at /home/asouab/programation/flutter_linux_v1.0.0-stable/flutter
• Framework revision 8661d8aecd (3 weeks ago), 2019-02-14 19:19:53 -0800
• Engine revision 3757390fa4
• Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /home/asouab/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /snap/android-studio/71/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
• All Android licenses accepted.

[✓] Android Studio (version 3.3)
• Android Studio at /snap/android-studio/71/android-studio
• Flutter plugin version 33.1.1
• Dart plugin version 182.5215
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[✓] VS Code (version 1.31.1)
• VS Code at /usr/share/code
• Flutter extension version 2.24.0

[✓] Connected device (1 available)
• Android SDK built for x86 • emulator-5556 • android-x86 • Android 7.1.1 (API 25) (emulator)

• No issues found!









share|improve this question














The problem is when running an app on debug mode my app work normally , but in when i release my apk " Flutter build apk " the app Stopped don't work
enter image description here
and when i remove full_pdf_viewer from dependencies

the apk work normally



this is my dependencies:



 cupertino_icons: ^0.1.2
cloud_firestore: ^0.8.0
connectivity: 0.3.0
url_launcher: 4.0.2
firebase_admob: ^0.5.2
dio: 1.0.0
path_provider: any
random_pk: any
flutter_full_pdf_viewer: 1.0.2


Flutter doctor



[✓] Flutter (Channel stable, v1.2.1, on Linux, locale en_US.UTF-8)
• Flutter version 1.2.1 at /home/asouab/programation/flutter_linux_v1.0.0-stable/flutter
• Framework revision 8661d8aecd (3 weeks ago), 2019-02-14 19:19:53 -0800
• Engine revision 3757390fa4
• Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /home/asouab/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /snap/android-studio/71/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
• All Android licenses accepted.

[✓] Android Studio (version 3.3)
• Android Studio at /snap/android-studio/71/android-studio
• Flutter plugin version 33.1.1
• Dart plugin version 182.5215
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[✓] VS Code (version 1.31.1)
• VS Code at /usr/share/code
• Flutter extension version 2.24.0

[✓] Connected device (1 available)
• Android SDK built for x86 • emulator-5556 • android-x86 • Android 7.1.1 (API 25) (emulator)

• No issues found!






android dart flutter






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 8 at 19:21









Abdelmjid AsouabAbdelmjid Asouab

114




114












  • Hello and welcome to SO! Do you have some output to post? Any error? StackTrace? What platform are you using to exeute the application? Emulator(android or ios)? Or physical device??

    – Roberto Manfreda
    Mar 8 at 21:53











  • First try importing latest release: flutter_full_pdf_viewer: ˆ1.0.4

    – Roberto Manfreda
    Mar 8 at 22:00

















  • Hello and welcome to SO! Do you have some output to post? Any error? StackTrace? What platform are you using to exeute the application? Emulator(android or ios)? Or physical device??

    – Roberto Manfreda
    Mar 8 at 21:53











  • First try importing latest release: flutter_full_pdf_viewer: ˆ1.0.4

    – Roberto Manfreda
    Mar 8 at 22:00
















Hello and welcome to SO! Do you have some output to post? Any error? StackTrace? What platform are you using to exeute the application? Emulator(android or ios)? Or physical device??

– Roberto Manfreda
Mar 8 at 21:53





Hello and welcome to SO! Do you have some output to post? Any error? StackTrace? What platform are you using to exeute the application? Emulator(android or ios)? Or physical device??

– Roberto Manfreda
Mar 8 at 21:53













First try importing latest release: flutter_full_pdf_viewer: ˆ1.0.4

– Roberto Manfreda
Mar 8 at 22:00





First try importing latest release: flutter_full_pdf_viewer: ˆ1.0.4

– Roberto Manfreda
Mar 8 at 22:00












1 Answer
1






active

oldest

votes


















0














Follow the official resource about how to prepare an apk to be realesed:
https://flutter.dev/docs/deployment/android



After that you have to declare ndk with abi filters in your build.gradle(app level).



buildTypes 

release
signingConfig signingConfigs.release
minifyEnabled true
useProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

ndk
abiFilters 'armeabi-v7a'



debug
minifyEnabled false
useProguard false




or adding all filters



abiFilters 'x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'arm64-v8a'


For reference






share|improve this answer























  • thank u so much that's work for me <3

    – Abdelmjid Asouab
    Mar 15 at 15:31











  • work in physical device but in Emulator (android) he show me that error : ` Error: ADB exited with exit code 1 adb: failed to install /home/asouab/programation/mon_bac/build/app/outputs/apk/app.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113] Install failed `

    – Abdelmjid Asouab
    Mar 15 at 15:33












  • You have to check the architecture of your emulator device through AVD manager and then you need to add that architecture to abiFilters :)

    – Roberto Manfreda
    Mar 16 at 0:57











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55069674%2fflutter-my-application-stopping-when-i-used-full-pdf-viewer%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Follow the official resource about how to prepare an apk to be realesed:
https://flutter.dev/docs/deployment/android



After that you have to declare ndk with abi filters in your build.gradle(app level).



buildTypes 

release
signingConfig signingConfigs.release
minifyEnabled true
useProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

ndk
abiFilters 'armeabi-v7a'



debug
minifyEnabled false
useProguard false




or adding all filters



abiFilters 'x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'arm64-v8a'


For reference






share|improve this answer























  • thank u so much that's work for me <3

    – Abdelmjid Asouab
    Mar 15 at 15:31











  • work in physical device but in Emulator (android) he show me that error : ` Error: ADB exited with exit code 1 adb: failed to install /home/asouab/programation/mon_bac/build/app/outputs/apk/app.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113] Install failed `

    – Abdelmjid Asouab
    Mar 15 at 15:33












  • You have to check the architecture of your emulator device through AVD manager and then you need to add that architecture to abiFilters :)

    – Roberto Manfreda
    Mar 16 at 0:57















0














Follow the official resource about how to prepare an apk to be realesed:
https://flutter.dev/docs/deployment/android



After that you have to declare ndk with abi filters in your build.gradle(app level).



buildTypes 

release
signingConfig signingConfigs.release
minifyEnabled true
useProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

ndk
abiFilters 'armeabi-v7a'



debug
minifyEnabled false
useProguard false




or adding all filters



abiFilters 'x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'arm64-v8a'


For reference






share|improve this answer























  • thank u so much that's work for me <3

    – Abdelmjid Asouab
    Mar 15 at 15:31











  • work in physical device but in Emulator (android) he show me that error : ` Error: ADB exited with exit code 1 adb: failed to install /home/asouab/programation/mon_bac/build/app/outputs/apk/app.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113] Install failed `

    – Abdelmjid Asouab
    Mar 15 at 15:33












  • You have to check the architecture of your emulator device through AVD manager and then you need to add that architecture to abiFilters :)

    – Roberto Manfreda
    Mar 16 at 0:57













0












0








0







Follow the official resource about how to prepare an apk to be realesed:
https://flutter.dev/docs/deployment/android



After that you have to declare ndk with abi filters in your build.gradle(app level).



buildTypes 

release
signingConfig signingConfigs.release
minifyEnabled true
useProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

ndk
abiFilters 'armeabi-v7a'



debug
minifyEnabled false
useProguard false




or adding all filters



abiFilters 'x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'arm64-v8a'


For reference






share|improve this answer













Follow the official resource about how to prepare an apk to be realesed:
https://flutter.dev/docs/deployment/android



After that you have to declare ndk with abi filters in your build.gradle(app level).



buildTypes 

release
signingConfig signingConfigs.release
minifyEnabled true
useProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

ndk
abiFilters 'armeabi-v7a'



debug
minifyEnabled false
useProguard false




or adding all filters



abiFilters 'x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'arm64-v8a'


For reference







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 8 at 22:23









Roberto ManfredaRoberto Manfreda

357314




357314












  • thank u so much that's work for me <3

    – Abdelmjid Asouab
    Mar 15 at 15:31











  • work in physical device but in Emulator (android) he show me that error : ` Error: ADB exited with exit code 1 adb: failed to install /home/asouab/programation/mon_bac/build/app/outputs/apk/app.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113] Install failed `

    – Abdelmjid Asouab
    Mar 15 at 15:33












  • You have to check the architecture of your emulator device through AVD manager and then you need to add that architecture to abiFilters :)

    – Roberto Manfreda
    Mar 16 at 0:57

















  • thank u so much that's work for me <3

    – Abdelmjid Asouab
    Mar 15 at 15:31











  • work in physical device but in Emulator (android) he show me that error : ` Error: ADB exited with exit code 1 adb: failed to install /home/asouab/programation/mon_bac/build/app/outputs/apk/app.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113] Install failed `

    – Abdelmjid Asouab
    Mar 15 at 15:33












  • You have to check the architecture of your emulator device through AVD manager and then you need to add that architecture to abiFilters :)

    – Roberto Manfreda
    Mar 16 at 0:57
















thank u so much that's work for me <3

– Abdelmjid Asouab
Mar 15 at 15:31





thank u so much that's work for me <3

– Abdelmjid Asouab
Mar 15 at 15:31













work in physical device but in Emulator (android) he show me that error : ` Error: ADB exited with exit code 1 adb: failed to install /home/asouab/programation/mon_bac/build/app/outputs/apk/app.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113] Install failed `

– Abdelmjid Asouab
Mar 15 at 15:33






work in physical device but in Emulator (android) he show me that error : ` Error: ADB exited with exit code 1 adb: failed to install /home/asouab/programation/mon_bac/build/app/outputs/apk/app.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113] Install failed `

– Abdelmjid Asouab
Mar 15 at 15:33














You have to check the architecture of your emulator device through AVD manager and then you need to add that architecture to abiFilters :)

– Roberto Manfreda
Mar 16 at 0:57





You have to check the architecture of your emulator device through AVD manager and then you need to add that architecture to abiFilters :)

– Roberto Manfreda
Mar 16 at 0:57



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55069674%2fflutter-my-application-stopping-when-i-used-full-pdf-viewer%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived

Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme