1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

open frameworksをAndoroid Studioでビルドするときにつまづいたこと

Posted at

はじめに

open frameworksをAndoroid Studioでビルドする際にめちゃくちゃつまづいたので、覚書き

Mac OS: 10.14.6
open frameworks: 11.0
Eset: 6.8.400.0
実機: AQUOS SHV39

Gradle Sync 終わらない

基本的には公式マニュアルに従って設定するのですが、適当なexampleをAndroid Studioに読み込んだところで、Gradle Syncが自動で始まって、一向に終わらない。

3時間後に以下のメッセージが

Gradle sync failed: The first result from the daemon was empty. Most likely the process died immediately after connection.
Consult IDE log for more details (Help | Show Log) (3 h 20 m 3 s 854 ms)

Gradle Syncが終わらないのは、Esetのファイアウォールの設定の影響らしい。
https://qiita.com/kmatae/items/8f898180408bc3a04c9a

これで解決

ビルドした後、実機でアプリが立ち上がらない。

エラー内容

Unable to determine application id: com.android.tools.idea.run.ApkProvisionException: No outputs for the main artifact of variant:'

Android Studioの最新版だとエラーするのでバージョン落としたらうまく行きました。
https://forum.openframeworks.cc/t/troubles-with-running-examples/35195/5

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?