1. Download our Official Android App: Forums for Android!

app development

Discussion in 'Android Development' started by Steven Spiegel, Aug 10, 2018.

  1. Steven Spiegel

    Thread Starter
    Rank:
     #509
    Points:
    26
    Posts:
    33
    Joined:
    Aug 10, 2018

    Aug 10, 2018
    33
    2
    26
    Code (Text):
    1. Information:Gradle tasks [:app:clean, :app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:assembleDebug]
    2. :app:clean
    3. :app:preBuild UP-TO-DATE
    4. :app:preDebugBuild UP-TO-DATE
    5. :app:checkDebugManifest
    6. :app:preReleaseBuild UP-TO-DATE
    7. :app:prepareComAndroidSupportAnimatedVectorDrawable2340Library
    8. :app:prepareComAndroidSupportAppcompatV72340Library
    9. :app:prepareComAndroidSupportDesign2340Library
    10. :app:prepareComAndroidSupportRecyclerviewV72340Library
    11. :app:prepareComAndroidSupportSupportV42340Library
    12. :app:prepareComAndroidSupportSupportVectorDrawable2340Library
    13. :app:prepareDebugDependencies
    14. :app:compileDebugAidl
    15. :app:compileDebugRenderscript
    16. :app:generateDebugBuildConfig
    17. :app:mergeDebugShaders
    18. :app:compileDebugShaders
    19. :app:generateDebugAssets
    20. :app:mergeDebugAssets
    21. :app:generateDebugResValues UP-TO-DATE
    22. :app:generateDebugResources
    23. :app:mergeDebugResources
    24. :app:processDebugManifest
    25. :app:processDebugResources
    26. :app:generateDebugSources
    27. :app:preDebugAndroidTestBuild UP-TO-DATE
    28. :app:prepareDebugAndroidTestDependencies
    29. :app:compileDebugAndroidTestAidl
    30. :app:processDebugAndroidTestManifest
    31. :app:compileDebugAndroidTestRenderscript
    32. :app:generateDebugAndroidTestBuildConfig
    33. :app:mergeDebugAndroidTestShaders
    34. :app:compileDebugAndroidTestShaders
    35. :app:generateDebugAndroidTestAssets
    36. :app:mergeDebugAndroidTestAssets
    37. :app:generateDebugAndroidTestResValues UP-TO-DATE
    38. :app:generateDebugAndroidTestResources
    39. :app:mergeDebugAndroidTestResources
    40. :app:processDebugAndroidTestResources
    41. :app:generateDebugAndroidTestSources
    42. :app:mockableAndroidJar UP-TO-DATE
    43. :app:preDebugUnitTestBuild UP-TO-DATE
    44. :app:prepareDebugUnitTestDependencies
    45. :app:incrementalDebugJavaCompilationSafeguard
    46. :app:compileDebugJavaWithJavac
    47. :app:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
    48. :app:compileDebugNdk UP-TO-DATE
    49. :app:compileDebugSources
    50. :app:buildInfoDebugLoader
    51. :app:transformClassesWithExtractJarsForDebug
    52. :app:transformClassesWithInstantRunVerifierForDebug
    53. :app:transformClassesWithJavaResourcesVerifierForDebug UP-TO-DATE
    54. :app:mergeDebugJniLibFolders
    55. :app:transformNative_libsWithMergeJniLibsForDebug
    56. :app:processDebugJavaRes UP-TO-DATE
    57. :app:transformResourcesWithMergeJavaResForDebug
    58. :app:transformResourcesAndNative_libsWithJavaResourcesVerifierForDebug UP-TO-DATE
    59. :app:transformClassesWithInstantRunForDebug
    60. :app:transformClasses_enhancedWithInstant+reloadDexForDebug UP-TO-DATE
    61. :app:incrementalDebugTasks
    62. :app:prePackageMarkerForDebug
    63. :app:fastDeployDebugExtractor
    64. :app:generateDebugInstantRunAppInfo
    65. :app:coldswapKickerDebug
    66. :app:transformClassesWithInstantRunSlicerForDebug
    67. :app:transformClassesWithDexForDebug
    68. To run dex in process, the Gradle daemon needs a larger heap.
    69. It currently has approximately 910 MB.
    70. For faster builds, increase the maximum heap size for the Gradle daemon to more than 2048 MB.
    71. To do this set org.gradle.jvmargs=-Xmx2048M in the project gradle.properties.
    72. For more information see https://docs.gradle.org/current/userguide/build_environment.html
    73. :app:transformClassesWithDexForDebug FAILED
    74. Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
    75. > com.android.build.api.transform.TransformException: java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\Steve\AboutCancunSteve\app\build\intermediates\restart-dex\debug\tmp-build-info.xml (The requested operation cannot be performed on a file with a user-mapped section open)
    76. Information:BUILD FAILED
    77. Information:Total time: 1 mins 28.191 secs
    78. Information:1 error
    79. Information:0 warnings
    80. Information:See complete output in console
    I see something about java.io FileNotFound. ??
     

    Advertisement

  2. Steven Spiegel

    Thread Starter
    Rank:
     #509
    Points:
    26
    Posts:
    33
    Joined:
    Aug 10, 2018

    Aug 10, 2018
    33
    2
    26
    did debug in logcat got this
    Code (Text):
    1.  
    2. C:\Users\Steve\AppData\Local\Android\Sdk\tools\emulator.exe -netdelay none -netspeed full -avd Nexus_One_API_23
    3. emulator: WARNING: Increasing RAM size to 1024MB
    4. libpng warning: iCCP: known incorrect sRGB profile
    5. emulator: WARNING: VM heap size set below hardware specified minimum of 48MB
    6. emulator: WARNING: Setting VM heap size to 256MB
    7. libpng warning: iCCP: known incorrect sRGB profile
    8. Hax is enabled
    9. libpng warning: iCCP: known incorrect sRGB profile
    10. Hax ram_size 0x40000000
    11. libpng warning: iCCP: known incorrect sRGB profile
    12. HAX is working and emulator runs in fast virt mode.
    13. libpng warning: iCCP: known incorrect sRGB profile
    14. libpng warning: iCCP: known incorrect sRGB profile
    15. libpng warning: iCCP: known incorrect sRGB profile
    16. console on port 5554, ADB on port 5555
    17. emulator: emulator window was out of view and was recentered
    18.  
    please tell me if any of this output is useful. thanks!
     
  3. Steven Spiegel

    Thread Starter
    Rank:
     #509
    Points:
    26
    Posts:
    33
    Joined:
    Aug 10, 2018

    Aug 10, 2018
    33
    2
    26
    regarding the warning
    Code (Text):
    1. libpng warning: iCCP: known incorrect sRGB profile
    , not sure if it refers to an image like a png file or my own profile. I am confused.
     
  4. Steven Spiegel

    Thread Starter
    Rank:
     #509
    Points:
    26
    Posts:
    33
    Joined:
    Aug 10, 2018

    Aug 10, 2018
    33
    2
    26
    to get more info on crash on logcat I updated the sdk manager. now rendering problems so updating android studio. will take a while
     
  5. wseng92

    wseng92 Well-Known Member
    Rank:
     #461
    Points:
    28
    Posts:
    76
    Joined:
    Oct 26, 2015

    Oct 26, 2015
    76
    13
    28
    Male
    Make sure you have added second activity in Android Mainfest
     
  6. Steven Spiegel

    Thread Starter
    Rank:
     #509
    Points:
    26
    Posts:
    33
    Joined:
    Aug 10, 2018

    Aug 10, 2018
    33
    2
    26
    that was done long ago
     
  7. Steven Spiegel

    Thread Starter
    Rank:
     #509
    Points:
    26
    Posts:
    33
    Joined:
    Aug 10, 2018

    Aug 10, 2018
    33
    2
    26
    I sent a message to support stating I cannot see Best Answer tab. I saw it once a long time ago.
     

Share This Page

Loading...