我的系统突然关闭,我打开它,我得到错误:无法解决:android.arch.core:常见:我的android工作室1.1.0错误.我尝试过清理和重建项目,但它没有用.我在互联网上进行了研究,但没有一个能解决我的问题.
建立.gradle这个(项目)
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven {
url 'https://jitpack.io'
}
maven {
url "https://maven.google.com"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Run Code Online (Sandbox Code Playgroud)
的build.gradle(APP)
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
buildToolsVersion "27.0.1" …Run Code Online (Sandbox Code Playgroud) 我正在编写一个应用程序,使用laravel和swiftmailer向客户端发送邮件,但我得到Process无法启动[系统无法找到指定的路径.]错误.
这是我的代码
环境设置
MAIL_DRIVER = smtp
MAIL_HOST = smtp.gmail.com
MAIL_PORT = 587
MAIL_USERNAME = "*********"
MAIL_PASSWORD = *******
MAIL_ENCRYPTION = tls
Run Code Online (Sandbox Code Playgroud)
调节器
$data = array('name'=>"Virat Gandhi");
Mail::send('emails.mail', $data, function($message) {
$message->to('chuditex2004@yahoo.com', 'Tutorials Point')->subject
('Laravel HTML Testing Mail');
$message->from('chuksdsilent@gmail.com','Virat Gandhi');
});
echo "HTML Email Sent. Check your inbox.";
Run Code Online (Sandbox Code Playgroud)
日志
Swift_TransportException:无法启动进程[系统找不到指定的路径.]在文件
C:\ xampp\htdocs\tranxavApi\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\StreamBuffer.php第299行堆栈跟踪:1.Swift_TransportException - >()C:\ xampp\htdocs\tranxavApi\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\StreamBuffer.php:299 2. Swift_Transport_StreamBuffer-> establishProcessConnection()C:\ xampp\htdocs\tranxavApi\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\StreamBuffer.php:58 3. Swift_Transport_StreamBuffer-> initialize()C:\ xampp\htdocs\tranxavApi\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\AbstractSmtpTransport.php:126 4. Swift_Transport_AbstractSmtpTransport-> start() C:\ xampp\htdocs\tranxavApi\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\SendmailTransport.php:52 5. Swift_Transport_SendmailTransport-> start()C:\ xampp\htdocs\tranxavApi\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Mailer.php:67 6. Swift_Mailer-> send()C:\ xampp\htdocs\tranxavApi\vendor\laravel\framework\src\Illuminate\Mail\Mailer.php:451 7. Illuminate\Mail\Mailer-> sendSwiftMessage()C:\ xampp\htdocs\tranxavApi\vendor\laravel\framework\src\Illuminate\Mail\Mailer.php:235 8. …