Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,027

HOME > Mobile > Android Tutorials - สอนเขียน Android App ฟรี เขียนโปรแกรมแอนดรอยด์บน SmartPhone / Tablets > การแก้ปัญหาเบื้องต้นเมื่อ Emulator ไม่ตอบสนอง ไม่สามารถรันโปรแกรม Android ได้



Clound SSD Virtual Server

การแก้ปัญหาเบื้องต้นเมื่อ Emulator ไม่ตอบสนอง ไม่สามารถรันโปรแกรม Android ได้

การแก้ปัญหาเบื้องต้นเมื่อ Emulator ไม่ตอบสนอง ไม่สามารถรันโปรแกรม Android ได้ ปัญหาที่เจอกันบ่อย ๆ เมื่อตอนที่เขียนโปรแกรม Android บนโปรแกรม Eclipse คือไม่สามารถเรียก Emulator ได้ หรือ Emulator ไม่ตอบสนอง ซึ่งปัญหานี้เจอกันบ่อยมาก และจะเจอตอนที่เรียกเพื่อรันในครั้งแรกเท่านั้น จากเท่าที่อ่านดูแล้วยังพบกว่าจะเกิดขึ้นเฉพาะใน Android ในเวอร์ชั่นใหม่ ๆ เท่านั้น พูดง่าย ๆ คือยังมี Bug อยู่ในหลายจุด แต่ก็มีวิธีการแก้ไขปัญหาเบื้องต้นในหลาย ๆ วิธี โดยที่เราไม่ต้องทำการ Remove แล้วลง Plugin ใหม่

Error Message
Process system is not responding...


 Emulator Problem Android


Error Message
[2012-07-03 21:50:15 - MyApp] ------------------------------
[2012-07-03 21:50:15 - MyApp] Android Launch!
[2012-07-03 21:50:15 - MyApp] adb is running normally.
[2012-07-03 21:50:15 - MyApp] Performing com.myapp.MainActivity activity launch
[2012-07-03 21:50:15 - MyApp] Automatic Target Mode: Preferred AVD 'EmuAVD4.0' is not available. Launching new emulator.
[2012-07-03 21:50:15 - MyApp] Launching a new emulator with Virtual Device 'EmuAVD4.0'
[2012-07-03 21:50:18 - MyApp] New emulator found: emulator-5554
[2012-07-03 21:50:18 - MyApp] Waiting for HOME ('android.process.acore') to be launched...
[2012-07-03 21:51:35 - MyApp] emulator-5554 disconnected! Cancelling 'com.myapp.MainActivity activity launch'!


Error Message
[2012-07-02 10:12:47 - MyApp] ------------------------------
[2012-07-02 10:12:47 - MyApp] Android Launch!
[2012-07-02 10:12:47 - MyApp] The connection to adb is down, and a severe error has occured.
[2012-07-02 10:12:47 - MyApp] You must restart adb and Eclipse.
[2012-07-02 10:12:47 - MyApp] Please ensure that adb is correctly located at 'C:\Android\android-sdk\platform-tools\adb.exe' and can be executed.

========================================

[2012-07-02 10:14:58 - MyApp] Android Launch!
[2012-07-02 10:14:58 - MyApp] adb is running normally.
[2012-07-02 10:14:58 - MyApp] No Launcher activity found!
[2012-07-02 10:14:58 - MyApp] The launch will only sync the application package on the device!
[2012-07-02 10:14:58 - MyApp] Performing sync
[2012-07-02 10:14:58 - MyApp] Automatic Target Mode: Preferred AVD 'EmuAVD4.0' is not available. Launching new emulator.
[2012-07-02 10:14:58 - MyApp] Launching a new emulator with Virtual Device 'EmuAVD4.0'


วิธีที่ 1 ลอง Clean โปรเทคใหม่โดยไปที่ Project -> Clean

 Emulator Problem Android

ไปที่เมนู Project -> Clean

 Emulator Problem Android

เลือก Project และก็ OK








วิธีที่ 2 ปิด Emulator แล้วรันใหม่อีกครั้ง


วิธีที่ 3 แก้ไขค่า Config ของการรันใหม่โดยไปที่เมนู

Run - Run Configuration


 Emulator Problem Android

ลบและสร้่ง Config ใหม่

 Emulator Problem Android

ขั้นตอนการสร้างตรวจสอบ Emulator ให้ถูกรุ่นด้วย

วิธีที่ 4 ก่อนทำการรันให้เปิด Emulator ทิ้งไว้ก่อน โดยไปที่

 Emulator Problem Android

ไปที่ Emulator

 Emulator Problem Android

แล้ว Run Emulator ทิ้งไว้ก่อนทำการรันทุกครั้ง

วิธีที่ 5 ทำการ Kill Service ของ adb.exe จากนั้นก็ปิด Eclipse แล้วเปิดขึ้นมาใหม่ทั้งหมด

 Emulator Problem Android

End Process ชื่อ adb.exe จากนั้นก็ปิด Eclipse แล้วเปิดใหม่

วิธีที่ 6 Restart เครื่องใหม่


วิธีการดังกล่าวจะเป็นแนะนำการแก้ไขปัญหาในเบื้องต้น ซึ่งอาจจะช่วยแก้ไขปัญหาได้บ้าง







.

   
Share


ช่วยกันสนับสนุนรักษาเว็บไซต์ความรู้แห่งนี้ไว้ด้วยการสนับสนุน Source Code 2.0 ของทีมงานไทยครีเอท


ลองใช้ค้นหาข้อมูล


   


Bookmark.   
       
  By : ThaiCreate.Com Team (บทความเป็นลิขสิทธิ์ของเว็บไทยครีเอทห้ามนำเผยแพร่ ณ เว็บไซต์อื่น ๆ)
  Score Rating :  
  Create/Update Date : 2012-07-08 08:00:01 / 2017-03-26 20:34:14
  Download : No files
 Sponsored Links / Related

 
Android File Structure โครงสร้างของไฟล์ของ Android บน Smart Phone และ Tablets
Rating :

 
รู้จัก Palette หรือเครื่องมือ Widgets Element ต่าง ๆ ที่อยู่ใน Android และ Eclipse
Rating :

 
Android สร้าง Launcher Icons และ Title Bar บน Eclipse และ ใช้งาน Emulator เบื้องต้น
Rating :

 
พื้นฐานการเขียน Android กับโปรแกรมภาษา Java Syntax และการใช้งาน Eclipse เบื้องต้น
Rating :

 
ฟรี!! อบรม Android เรียน Android จะเขียน แอนดรอยด์ แหล่งความรู้แบบ ฟรี ๆ
Rating :

 
Android Change Launcher Icons การเปลี่ยนไอคอนของโปรแกรมทีเขียนบนแอนดรอยด์
Rating :

 
Android - Process system is not responding / has stopped / unexpectedly
Rating :

 
การใช้งาน Debugging (LogCat) ในการเขียน Android บนโปรแกรม Eclipse IDE (Android-Eclipse)
Rating :

 
การเซ็ตให้ Eclipse - Run / Debug โปรแกรม Android บน Device และ Smart Phone หรือ Tablets จริง
Rating :

 
Android Export APK การนำ App ที่เขียนบน Eclipse ทำเป็น .apk ไป Install ใช้งานจริงบน Smart Phone และ Tablets
Rating :

 
Android Sample Project ของ Android SDK ที่อยู่ใน Eclipse มีอะไรดีและน่าสนใจกว่าที่คิด
Rating :

 
Android Rotate Switching Portrait and Landscape - Emulator (มุมมองในแนวตั้งและแนวนอน)
Rating :

 
Android การทำ Splash Screen Loading ในช่วงระหว่างการเข้าสู่ App หรือระหว่างในช่วงรอการเปลี่ยนหน้า
Rating :

 
Android External Font Face / Font Color / Font Size
Rating :

 
Android Import Jar Library
Rating :

 
Android get current Date/Time
Rating :


ThaiCreate.Com Forum


Comunity Forum Free Web Script
Jobs Freelance Free Uploads
Free Web Hosting Free Tools

สอน PHP ผ่าน Youtube ฟรี
สอน Android การเขียนโปรแกรม Android
สอน Windows Phone การเขียนโปรแกรม Windows Phone 7 และ 8
สอน iOS การเขียนโปรแกรม iPhone, iPad
สอน Java การเขียนโปรแกรม ภาษา Java
สอน Java GUI การเขียนโปรแกรม ภาษา Java GUI
สอน JSP การเขียนโปรแกรม ภาษา Java
สอน jQuery การเขียนโปรแกรม ภาษา jQuery
สอน .Net การเขียนโปรแกรม ภาษา .Net
Free Tutorial
สอน Google Maps Api
สอน Windows Service
สอน Entity Framework
สอน Android
สอน Java เขียน Java
Java GUI Swing
สอน JSP (Web App)
iOS (iPhone,iPad)
Windows Phone
Windows Azure
Windows Store
Laravel Framework
Yii PHP Framework
สอน jQuery
สอน jQuery กับ Ajax
สอน PHP OOP (Vdo)
Ajax Tutorials
SQL Tutorials
สอน SQL (Part 2)
JavaScript Tutorial
Javascript Tips
VBScript Tutorial
VBScript Validation
Microsoft Access
MySQL Tutorials
-- Stored Procedure
MariaDB Database
SQL Server Tutorial
SQL Server 2005
SQL Server 2008
SQL Server 2012
-- Stored Procedure
Oracle Database
-- Stored Procedure
SVN (Subversion)
แนวทางการทำ SEO
ปรับแต่งเว็บให้โหลดเร็ว


Hit Link
   







Load balance : Server 01
ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2024 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่