Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Agora Test Example fail to run #11

Closed
anraiki opened this issue Apr 17, 2019 · 9 comments
Closed

Agora Test Example fail to run #11

anraiki opened this issue Apr 17, 2019 · 9 comments

Comments

@anraiki
Copy link

anraiki commented Apr 17, 2019

I've inserted the app id into the settings and try to run the app on debug which failed to run.

Was there any other instruction needed or did I have to build more on top to get the app to run?

@plutoless
Copy link
Contributor

What exactly is the issue you are having with? When you say it failed to run, what do you see? Have you executed flutter doctor to ensure all flutter environment is properly setup?

@anraiki
Copy link
Author

anraiki commented Apr 17, 2019

Flutter Doctor

Android license needed to be renewed but everything check off green.

Flutter Run

App is installed on device but crashes immediately when ran showing: "agora_flutter_quickstart has stopped."

With the option to "Close App"

@plutoless
Copy link
Contributor

which platform are you running this with? ios or android?

@anraiki
Copy link
Author

anraiki commented Apr 17, 2019

Android Version 8.0 (Oreo)

Samsung-SM-G930A

or Samsung Galaxy S7

@plutoless
Copy link
Contributor

AgoraIO-Extensions/Agora-Flutter-SDK#7 (comment)
maybe this is the same issue?

@anraiki
Copy link
Author

anraiki commented Apr 17, 2019

Strangely

     defaultConfig {
        applicationId "com.example.agoraflutterquickstart"
        minSdkVersion 16
        targetSdkVersion 28
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

        ndk {
            abiFilters 'armeabi-v7a', 'x86'
        }
    }

I follow the thread there and tried their solution to no avail. Adding x86 did nothing as well. I will poke around for another device to test on.

@anraiki
Copy link
Author

anraiki commented Apr 26, 2019

Okay.

Removing

        ndk {
            abiFilters 'armeabi-v7a', 'x86'
        }

Allowed me to run the app perfectly fine.

@anraiki
Copy link
Author

anraiki commented Apr 26, 2019

        // Use code below for production build
        // For debug mode you need to comment above lines of code
        // Issue with 'libflutter.so'
        // ndk {
        //     abiFilters 'armeabi-v7a', 'x86'
        // }

I believe wording is a bit off on the comment here.

It should be
// For debug mode you need to comment below lines of code

@vaibhavmali123
Copy link

and what about phone over heating my handset overheats whenever i makes vieocall

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants