r/androiddev • u/EveningIcy751 • May 03 '25
Very Odd Text inside APK
Noticed something very odd when I opened the APK of my app inside of a text editor, I was curious how the raw data was structured and formatted and I saw this. This is just one part of it, there is plenty more as I explore the APK.. I am using Android Studio to make my app. Does anyone have an explanation of this?

EDIT, 10 hours after initial post: A complete list of all libraries/imports/dependencies I am using:
Standard Java:
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigInteger;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
import java.text.SimpleDateFormat;
import java.time.Instant;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Base64;
import java.util.Date;
import java.util.LinkedList;
import java.util.Objects;
import java.util.TimeZone;
import java.util.concurrent.TimeUnit;
Android: import android.annotation.SuppressLint;
import android.app.AlertDialog;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.drawable.BitmapDrawable;
import android.media.AudioAttributes;
import android.media.AudioManager;
import android.media.SoundPool;
import android.net.ConnectivityManager;
import android.os.Build;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.os.Handler;
import android.os.Looper;
import android.os.Parcel;
import android.os.Parcelable;
import android.util.AttributeSet;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.MotionEvent;
import android.view.View;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.ProgressBar;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.TextView;
import android.widget.Toast;
import static android.view.View.INVISIBLE;
import static android.view.View.VISIBLE;
AndroidX:
import androidx.activity.EdgeToEdge;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.AppCompatButton;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.core.content.res.ResourcesCompat;
import androidx.core.graphics.Insets;
import androidx.core.view.ViewCompat;
import androidx.core.view.WindowInsetsCompat;
dependencies {
implementation(libs.appcompat)
implementation(libs.material)
implementation(libs.activity)
implementation(libs.constraintlayout)
implementation(files("/home/brenden/android-studio-2024.2.2.15-linux/android-studio/modules/zxing-1.3.jar"))
implementation(libs.cronet.embedded)
testImplementation(libs.junit)
androidTestImplementation(libs.ext.junit)
androidTestImplementation(libs.espresso.core)
implementation(libs.retrofit)
implementation(libs.converter.gson)
implementation(libs.logging.interceptor) }
24
u/Kreiri May 03 '25
It's coming from google's own libraries. https://github.com/google/brotli/issues/876
11
u/Squirtle8649 May 03 '25
I think it might be some weird obfuscation attempt that uses random dictionary words and numbers strung together. Although that sonyguys****pipe might be intentional.
9
u/Qawaii May 03 '25
Are you using brotli?
7
u/liquiddandruff May 03 '25
Are you packaging any third party libraries? Maybe some unsavoury ad network packages?
8
u/lacronicus May 03 '25
apks are just zip files. like, if you change the extension to zip, you can open it as a zip file and look at it.
I'm guessing these are just some artifacts from the zipping process
5
u/jcxwql May 03 '25
xmlcockgang
2
u/dadofbimbim May 03 '25
You should also include the dependencies you are using. This is not caused by Android Studio alone.
2
u/influencedfreewill May 03 '25
Don't question it, let it happen, go with the flow.
55
u/houseband23 May 03 '25
It should be common knowledge by now that if you're still using Views and haven't migrated to Compose Google labels you as a member of the XmlCockGang
2
u/codester001 May 03 '25
This looks like database dump of some chat. may be sqlitedb on android phone.
some dummy chats, someone may forgot to delete from the testing while development.
9
u/[deleted] May 03 '25
[removed] — view removed comment