How to process .apk file uploaded using fileuploader?

Hi @allenpbiju, welcome to the Streamlit community!

st.file_uploader returns a BytesIO object, which is a buffer, which isn’t one of the types that function accepts (as the error message indicates).

To get the bytes from a BytesIO object, you need to read the buffer:

a = APK(uploaded_apk.read())