Url_launcher Error While Building Apk

95 views
Skip to first unread message

Gökçen Merve Horuk

unread,
Jun 17, 2020, 2:50:21 AM6/17/20
to Flutter Development (flutter-dev)

Hello,

`import‘ package: url_launcher / url_launcher.dart ';

class CallsAndMessagesService {

void sendEmail (String email) => launch (“mailto: $ email”);

} `



By using this structure, I provide guidance for sending mail when the incoming email address is clicked.



flatbutto the (
child: Text (
widget.veri.email.tostring ()
style: TextStyle (fontSize: 20, fontWeight: FontWeight.bold, color: Colors.blue.shade400),
)
onPressed: () {
setState (() {
_service.sendemail (widget.veri.email);
});
},
)


Note: C: \ src \ flutter.pub-cache \ hosted \ pub.dartlang.org \ url_launcher-5.4.10 \ android \ src \ main \ java \ io \ flutter \ plugins \ urllauncher \ WebViewActivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint: deprecation for details.


However, it generates an error while creating Apk. How can I fix this error?

Yasin İLHAN

unread,
Jun 17, 2020, 2:54:39 AM6/17/20
to Gökçen Merve Horuk, Flutter Development (flutter-dev)
These errors is like Warning errors. Are you able to create an apk file ?

Gökçen Merve Horuk

unread,
Jun 17, 2020, 2:57:33 AM6/17/20
to Yasin İLHAN, Flutter Development (flutter-dev)
Yes, I can.  However, I am concerned that there will be a problem loading the application on googlePlay due to this warning.
17 Haz 2020 Çar, saat 09:54 tarihinde Yasin İLHAN <yasini...@gmail.com> şunu yazdı:
These errors is like Warning errors. Are you able to create an apk file ?
--
Computer Engineer
Gökçen Merve Horuk

Yasin İLHAN

unread,
Jun 17, 2020, 3:00:10 AM6/17/20
to Gökçen Merve Horuk, Flutter Development (flutter-dev)
No,Don't worry. There will be no problems. 

Saygılarımla/ Best Regards
Yasin İLHAN

***************************************************************************************************************************************************************************
         Bu e-posta mesajı kişiye özel olup, gizli bilgiler içeriyor olabilir. Eğer bu e-posta mesajı size yanlışlıkla ulaşmışsa, e-posta mesajını kullanıcıya hemen geri gönderiniz ve mesaj kutunuzdan siliniz. Bu e-posta mesajı, hiç bir şekilde, herhangi bir amaç için çoğaltılamaz, yayınlanamaz ve para karşılığı satılamaz. Yollayıcı, bu e-posta mesajının - virüs koruma sistemleri ile kontrol ediliyor olsa bile - virüs içermediğini garanti etmez ve meydana gelebilecek zararlardan doğacak hiçbir sorumluluğu kabul etmez.  
         The information contained in this message is confidential, intended solely for the use of the individual or entity to whom it is addressed and may be protected by professional secrecy. You should not copy, disclose or distribute this information for any purpose. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however, we cannot warrant that virus or other forms of  data corruption may not be present and we do not take any responsibility in any occurrence.
 **************************************************************************************************************************************************


Gökçen Merve Horuk <gokcenme...@gmail.com>, 17 Haz 2020 Çar, 09:57 tarihinde şunu yazdı:
Reply all
Reply to author
Forward
0 new messages