user8534979
user8534979

Reputation: 53

Problem integrating flutter module in existing android app

I am having problems with integrating my flutter module in an existing android app.

I am getting the above error after running "gradlew assembleDebug".

These are the errors i am getting in android studio.

ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve project :flutter. Show Details Affected Modules: app

ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve project :flutter. Show Details Affected Modules: app

ERROR: Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve project :flutter. Show Details Affected Modules: app

ERROR: Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve project :flutter. Show Details Affected Modules: app

ERROR: Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve project :flutter. Show Details Affected Modules: app

Upvotes: 5

Views: 2189

Answers (2)

O Thạnh Ldt
O Thạnh Ldt

Reputation: 1221

Close flutter module and your native android project and reopened it for first build.

Upvotes: 0

nAndroid
nAndroid

Reputation: 960

I'm glad to see another add2app question. Sorry about the delay - hopefully you got it figured out by now, but if not - flutter packages get from the flutter module should create this file.

cheers

Upvotes: 1

Related Questions