Giter Club home page Giter Club logo

Comments (5)

sabrinemoumni avatar sabrinemoumni commented on June 16, 2024

I try the zipalign command ligne after build and will tell if it works

from alfresco-android-app.

sabrinemoumni avatar sabrinemoumni commented on June 16, 2024

yes it works but I wish you tell how make it all whith the maven build

from alfresco-android-app.

jmpascal avatar jmpascal commented on June 16, 2024

ALoah,

If you want to release the app, the pom.xml defines a specific maven profile to sign & zipalign the apk generated.

In your command line you need to add the parameters : -P android-release

It defines the android maven plugin as the following

<plugin>
    <groupId>com.jayway.maven.plugins.android.generation2</groupId>
    <artifactId>android-maven-plugin</artifactId>
    <inherited>true</inherited>
    <configuration>
        <release>true</release>
        <resourceDirectory>${project.build.directory}/filtered-res</resourceDirectory>
        <sign>
            <debug>false</debug>
        </sign>
        <zipalign>
            <skip>false</skip>
            <verbose>true</verbose>
            <inputApk>${project.build.directory}/${project.artifactId}-${project.version}.apk</inputApk>
            <outputApk>${project.build.directory}/${project.artifactId}-${project.version}-signed-aligned.apk </outputApk>
        </zipalign>
    </configuration>
    <executions>
        <execution>
            <id>alignApk</id>
            <phase>install</phase>
            <goals>
                <goal>zipalign</goal>
            </goals>
        </execution>
    </executions>
</plugin>

More informations :

from alfresco-android-app.

mikeh avatar mikeh commented on June 16, 2024

Could I ask that these discussions are held on the Alfresco Forums site rather than here on GitHub please? That way others will be able to benefit by finding the information in one location.

Thank you,
Mike (Mobile Lead, Alfresco)

from alfresco-android-app.

jmpascal avatar jmpascal commented on June 16, 2024

Closed because no info has been provided after 3 months.

from alfresco-android-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.