FlatButton(
child: Text(
widget.veri.telefon.toString(),
style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold,color: Colors.indigo),
),
onPressed: () async{
if(widget.veri.telefon != null){
await CallNumber().callNumber('+9'+widget.veri.telefon);
}
},
),
FAILURE: Build failed with an exception.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource linking failed
C:\Users\gmh.gradle\caches\transforms-2\files-2.1\a528b13ac93e64cafa3d0480e2c93207\core-1.1.0\res\values\values.xml:142:5-173:25: AAPT: error: resource android:attr/fontVariationSettings not found.
C:\Users\gmh\.gradle\caches\transforms-2\files-2.1\a528b13ac93e64cafa3d0480e2c93207\core-1.1.0\res\values\values.xml:142:5-173:25: AAPT: error: resource android:attr/ttcIndex not found.Try:
Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output. Run with –scan to get full insights.
Get more help at https://help.gradle.org
BU�LD FAILED in 3m 23s
Running Gradle task ‘assembleRelease’… 205,3s (!)
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
Building plugin call_number…
Running Gradle task ‘assembleAarRelease’… 6,0s
FAILURE: Build failed with an exception.
Failed to notify project evaluation listener.
org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String
Try:
Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output. Run with –scan to get full insights.
Get more help at https://help.gradle.org
BUİLD FAILED in 5s
The plugin call_number could not be built due to the issue above.
How can I solve this problem?
--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/cc9f0738-3acf-4b9f-ac1a-c09128b1a7bco%40googlegroups.com.
Hello,
compileSdkVersion 28.Hello,compileSdkVersion 28.
--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/7e568e80-39cd-4af7-b187-90866442a62do%40googlegroups.com.
Intent()
..setAction(Action.ACTION_CALL)
..setData(Uri(scheme: 'tel', path: '121'))
..startActivity().catchError((e) => print(e));
Well, how can I use this? Should I use intent instead of call_number? Or do I need to make changes in sdk?
17 Haziran 2020 Çarşamba 15:28:22 UTC+3 tarihinde Yasin İLHAN yazdı:Okay. This package is outdated. I think it is not compatible with AndroidX . I prefer to using https://pub.dev/packages/intent this package.
--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/f42f6f3d-9da1-4538-9502-b7c587504d32o%40googlegroups.com.