简体   繁体   English

无法在Android Studio中打开APK游戏,想要迁移到Gradle?

[英]Can't open APK game in Android studio, wants to migrate to Gradle?

I wanted to download a game from the internet and open it with Android studio to play around with the code . 我想从互联网上下载游戏,然后在Android Studio中打开它来玩代码。 But when I try to open it with Android studio it said that I have to migrate to gradle build system and something like this . 但是当我尝试使用Android Studio打开它时,它说我必须迁移到gradle构建系统之类的东西。

They suggested me this site http://tools.android.com/tech-docs/new-build-system/migrating-from-intellij-projects but I didn't understand what to do.. 他们向我建议了这个网站http://tools.android.com/tech-docs/new-build-system/migrating-from-intellij-projects,但我不知道该怎么做。

What should I do in order to open this game? 我应该怎么做才能打开这个游戏?

I downloaded this http://play.mob.org/game/pac_man_by_namco.html . 我下载了http://play.mob.org/game/pac_man_by_namco.html

This is how it looks http://imgur.com/vZymysr 这就是它的外观http://imgur.com/vZymysr

You have no idea what you are doing. 你不知道自己在做什么。 You opened your game with archiver, because apk is zip file. 您使用存档器打开了游戏,因为apk是zip文件。 Your android studio doesn't see build.gradle in the root that is why error message looks like that. 您的Android Studio在根目录中看不到build.gradle,这就是为什么错误消息看起来像这样。 I see clases.dex which proves my suggestion. 我看到clases.dex证明了我的建议。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM