Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/324.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 在反编译Apk文件之后,我得到的是数字而不是常量。如何获取这些数字的字符串值?_Java_Android_Apk_Decompiler - Fatal编程技术网

Java 在反编译Apk文件之后,我得到的是数字而不是常量。如何获取这些数字的字符串值?

Java 在反编译Apk文件之后,我得到的是数字而不是常量。如何获取这些数字的字符串值?,java,android,apk,decompiler,Java,Android,Apk,Decompiler,遗憾的是,我丢失了我上传到商店的一个应用程序的源代码。使用此站点反编译java代码: 我在布局xml中得到类似的内容,例如: 如何将数字转换回原始代码中的常量?好的,我在阅读另一份副本时使用了apktools,它对xml文件的效果更好 好的,我在阅读另一份副本时使用了apktools,它对xml文件的效果更好 您是指id?您看到的所有数字最初都是常量变量名。反编译的代码将有一个R文件。它会有所有的参考资料。还有一个小建议,如果你可以反编译你的代码,其他人都可以。你的密码安全性在哪里?

遗憾的是,我丢失了我上传到商店的一个应用程序的源代码。使用此站点反编译java代码:

我在布局xml中得到类似的内容,例如:



如何将数字转换回原始代码中的常量?

好的,我在阅读另一份副本时使用了apktools,它对xml文件的效果更好


好的,我在阅读另一份副本时使用了apktools,它对xml文件的效果更好


您是指
id
?您看到的所有数字最初都是常量变量名。反编译的代码将有一个R文件。它会有所有的参考资料。还有一个小建议,如果你可以反编译你的代码,其他人都可以。你的密码安全性在哪里?我知道,但我不介意。该应用程序是免费的。同样在客户端web应用程序中,您也不能对此做任何事情。我没有看到任何R文件。它在哪个文件夹中?您是指
id
?您看到的所有数字最初都是常量变量名。反编译的代码将有一个R文件。它会有所有的参考资料。还有一个小建议,如果你可以反编译你的代码,其他人都可以。你的密码安全性在哪里?我知道,但我不介意。该应用程序是免费的。同样在客户端web应用程序中,您也不能对此做任何事情。我没有看到任何R文件。它在哪个文件夹中?实际上我还发现还有一个public.xml文件,其中包含所有数字及其等效名称。实际上我还发现还有一个public.xml文件,其中包含所有数字及其等效名称
<ListView
    android:id="@ref/0x7f060000"
    android:background="rgb8(0xffffffff)"
    android:layout_width="-1"
    android:layout_height="dimension(1)"
    android:drawSelectorOnTop="false"
    android:layout_weight="1065353216.000000" />

<LinearLayout
    android:orientation="1"
    android:id="@ref/0x7f060001"
    android:background="rgb8(0xffffffff)"
    android:layout_width="-1"
    android:layout_height="-1">

</LinearLayout>

<RelativeLayout
    android:id="@ref/0x7f060002"
    android:background="rgb8(0xffffffff)"
    style="@style/GenericProgressBackground">

    <ProgressBar
        android:layout_width="-2"
        android:layout_height="-2"
        style="@style/GenericProgressIndicator" />
</RelativeLayout>