未在虚拟设备Android Studio中显示的应用

时间:2015-08-29 02:44:33

标签: android android-studio avd

我目前正在学习Android开发,但我遇到了一个小问题。我试图运行的最后两个应用程序(遵循Bucky的android教程)未能出现在我的虚拟设备中。

这是我的构建日志:

CREATE OR REPLACE TRIGGER "TBU_Contract"
  BEFORE UPDATE OF "EmployeeID" ON "Contract"
  FOR EACH ROW 
BEGIN
  SELECT "NameSurname"
    INTO :NEW."NameSurname"
    FROM "Employee"
    WHERE "EmployeeID" = :NEW."EmployeeID";
END;

我的build.gradle文件:

11:58:36 AM Gradle sync started
11:59:14 AM Gradle sync completed
11:59:16 AM Executing tasks: [:app:generateDebugSources, :app:generateDebugAndroidTestSources]
11:59:30 AM Gradle build finished in 12s 258ms
12:19:21 PM Executing tasks: [:app:assembleDebug]
12:19:24 PM Gradle build finished with 15 error(s) in 3s 20ms
12:19:33 PM Executing tasks: [:app:assembleDebug]
12:19:56 PM Gradle build finished in 22s 797ms
12:32:59 PM Executing tasks: [:app:assembleDebug]
12:33:01 PM Gradle build finished in 1s 608ms

请帮忙!

1 个答案:

答案 0 :(得分:0)

您已成功构建应用,现在应将其安装在设备上。确保某些设备已连接(或虚拟设备),然后运行

 ./gradlew installDebug