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

Error when using in a new project #51

Closed
RNMBuser opened this issue Jun 11, 2018 · 3 comments
Closed

Error when using in a new project #51

RNMBuser opened this issue Jun 11, 2018 · 3 comments

Comments

@RNMBuser
Copy link

After adding the Mapbox imports on MainActivity.java that are missing in the Getting Started guide

import com.mapbox.mapboxsdk.*;
import com.mapbox.mapboxsdk.maps.*;
import com.mapbox.mapboxsdk.maps.*;
import com.mapbox.mapboxsdk.camera.*;
import com.mapbox.mapboxsdk.geometry.*;
import com.mapbox.mapboxsdk.constants.*;
import com.mapbox.mapboxsdk.annotations.*;

I still get the following error:

Execution failed for task ':app:transformNativeLibsWithStripDebugSymbolForDebug'.
A problem occurred starting process 'command '/Users/[username]/Library/Android/sdk/ndk-bundle/toolchains/mips64el-linux-android-4.9/prebuilt/darwin-x86_64/bin/mips64el-linux-android-strip''
@yoavrofe
Copy link
Contributor

Open the android directory in Android Studio, and upgrade gradle. Then copy android/app/build.gradle from the example project, and I think it should work.

@yoavrofe
Copy link
Contributor

See also here: AgeOfMobile/flutter_mapbox#2

@tobrun
Copy link
Member

tobrun commented Jul 26, 2018

Correct, following up on this in #55 , for now the steps referenced by @yoavrofe will fix the issue

@tobrun tobrun closed this as completed Jul 26, 2018
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