Android的:获取源$ C ​​$ C从用APK文件R.java [英] Android: Getting source code from an APK file with R.java

查看:298
本文介绍了Android的:获取源$ C ​​$ C从用APK文件R.java的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我这里使用的指令:
    <一href=\"http://stackoverflow.com/questions/3593420/android-getting-source-$c$c-from-an-apk-file\">Android:获取源$ C ​​$ C从APK文件
  这是真的很好。我得到了几乎所有的东西我丢失的项目,但没有R.java文件。这是nececery导入项目偏食。我怎样才能提取apk文件这个文件?我在哪里可以找到它?

I used the instruction here : Android: Getting source code from an APK file It was really good. I got almost everything of my lost project but no R.java file. It is nececery to import the project to eclipse. How can I extract this file from apk file? Where can I find it?

TNX。

推荐答案

是在Eclipse和其他IDE自动创建R.java。删除从我的主要活动,指出进口R.java通常有助于我的IDE认识到,它不存在,并重新创建当您​​尝试运行该程序就行了。如果还是不行,请尝试项目,清洁...并尝试再次运行它。

R.java is created automatically on Eclipse and other IDEs. Removing the line from my main activity that says import R.java usually helps my IDE recognize that it's not there, and it recreates it when you try to run the program. If that doesn't work, try Project, Clean... and try running it again.

这篇关于Android的:获取源$ C ​​$ C从用APK文件R.java的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆