<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>1520</bug_id>
          
          <creation_ts>2025-07-14 00:06:19 +0200</creation_ts>
          <short_desc>Android: Ensure Android 11 (API 30) + 14 (API 34) Compatibility</short_desc>
          <delta_ts>2025-08-25 04:31:51 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Gluegen</product>
          <component>core</component>
          <version>2.6.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>1523</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>DEFECT</cf_type>
          <cf_scm_refs>gluegen 4a385f0c06b0117ded3fca87bc433f157bfca6a1
gluegen 605815987d11b458b102cc549ed870a69fe9b95e
gluegen 1afa0e423e5c949976395a05dba35ee0e6eb7ee9
gluegen 35896e7984b8047282df474b76eadb20eb6bddda
gluegen 5400c3ce900b3be7472ff36b33ff7751686d2c1f
gluegen 3e559767bc58891191ff4d77462dfbb203c9b045
joal 17ec23123afd4ef1472fdd887b0441e4479304af
jogl 021d537b774b7077509b25bfcefedcc477ed5bc3
jogl 2f3985b2afcc1c8d94ef3e1a1a4c88c85976f273
jogl c1a2b231ec8f36f7528859a77dd8c4990c36ec9a
jogl 342b4d4426d88f5b70ac1a2446e42750314e6431
jogl 389090e98620297133f86b6dfcabf6bfc02d1345
jogl e5035211b2f1354a52a5487a33de79103af52429</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>7213</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2025-07-14 00:06:19 +0200</bug_when>
    <thetext>Android 11 (SDK API 30): Package visibility in Android 11
- PackageManager.getApplicationInfo() fails with NameNotFoundException
- See &lt;https://developer.android.com/training/package-visibility&gt;
- Solution: Add query in users&apos; apk or JogAmp AndroidLauncher `jogamp.android.launcher` manifest
  - See &lt;https://developer.android.com/guide/topics/manifest/queries-element&gt;

Android 11 (SDK API 30): Requires version min. request &lt;= JNI_VERSION_1_6, JNI_VERSION_1_8 is rejected.
- In general, we can ask for a JNI_VERSION_1_6 min required version across all modules.

Android 14 (SDK API 34): Writable dex file is not allowed
- See &lt;https://www.webviewgold.com/support-center/knowledgebase/solving-the-writable-dex-file-is-not-allowed-crash-in-android-apps/&gt;
- Solution: Mark destination apk dex-file read-only</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7214</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2025-07-14 02:38:16 +0200</bug_when>
    <thetext>Android: Ensure activities include `android:exported=&quot;true&quot;`</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7215</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2025-07-14 03:00:16 +0200</bug_when>
    <thetext>commit 35896e7984b8047282df474b76eadb20eb6bddda
    Android: Add android-stripped.jar (API 24) less java.* packages, avoiding collisions w/ Eclipse editor</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7216</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2025-07-14 03:01:10 +0200</bug_when>
    <thetext>commit 5400c3ce900b3be7472ff36b33ff7751686d2c1f
    Eclipse: Use android-stripped.jar in .classpath (via use library)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7222</commentid>
    <comment_count>4</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2025-07-21 13:46:30 +0200</bug_when>
    <thetext>Android: Min API 24 -&gt; 26
    
Desugaring w/ adding missing classes didn&apos;t work out well,
hence we are still in a Java 8 API situation within JogAmp
until using Android API 32 (Version 12) w/ full Java 11 support (?).
    
See &lt;https://developer.android.com/build/jdks&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7258</commentid>
    <comment_count>5</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2025-08-25 04:31:51 +0200</bug_when>
    <thetext>For a standalone Android bring-up test w/ demos (also included in the apk folder release/RC folder):

The fat demo APK jogl-demos-fat-android-${arch}.apk inside the jogl build folder can be directly installed and tested on your device w/ developer mode enabled.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>