Gulp does not work well with Android APK compilation

Greetings, I am facing an issue while trying to compile my Android app using gulp with the command: gulp --prod -p android. The problem arises when comparing the file size of the generated APK between myself and a colleague. When my colleague compiles, the APK weighs 20 MB, but when I compile it, the weight is only 1.7 MB. We both have the same code from our SVN repository, followed by running npm install and bower install.

To help identify the problem, I have included the content of the gulpfile.js below:

 'use strict';
// Code continues...

Additionally, here is the content of the package.json file:

 {
  "name": "myApp",
  "version": "1.0.0",
  // Other dependencies...
}

Lastly, you can find the compilation log below:

 [15:49:52] Using gulpfile D:\Profiles\bgouygou\Workspaces\Eclipse_IDE_for_Java_EE_Developers_442\B0001\gulpfile.js
[15:49:52] Starting 'default'...
// Compilation steps...
BUILD SUCCESSFUL
Total time: 17.387 secs
[15:50:43] Finished 'package' after 21 s
[15:50:43] Finished 'default' after 51 s

If further information is required to troubleshoot the issue, please let me know.

Answer №1

I'm currently on the lookout for something along those lines. Maybe this resource could be useful to you. Check out Gulp-Android

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

How do you structure `en.js` or `ja.js` files for lazy loading in vue-i18n?

What is the correct format for lazy loading en.js or ja.js? The code below is not working: // en.js export default { title: 'Title', greeting: 'How are you' }; and import Vue from 'vue'; import Inven ...

There seems to be an issue with the Url.Action method as it

I'm working with this script: $(function() { $.support.cors = true; jQuery.support.cors = true; $.ajax({ crossDomain: true, type: 'GET', url: 'http://example.com/WCFRESTService.svc/GetCategories&apos ...

a pair of browser windows displaying a web application built with ASP.NET MVC

We are currently in the process of developing an ASP.NET MVC web application for internal use within our organization. Our users' productivity can greatly benefit from having a larger screen space, which is why we have decided to provide each user wit ...

The ng-model remains unchanged when the <select> element is modified using JavaScript

I am currently working on creating a customized dropdown box with the help of JavaScript and anglersJS to connect the data with the select element. The user interaction involves clicking on a div element that is styled to act as the dropdown option. This d ...

Tribal Code Typescript Compiler

Typescript is a great alternative to Javascript in my opinion, but it bothers me that it requires node.js as a dependency. Additionally, I find it frustrating that there seems to be only one compiler available for this language, and it's self-hosted. ...

Height and Width Dilemma in Visuals

Can you help with changing image resolution using jQuery? I have a background image applied to the body using CSS/PHP. My goal is to make the image fill the entire window by applying the screen height and width, without using repeat style. The code I am c ...

Can a single button click be shared across multiple forms?

The main concept involves a grid where when a user double-clicks on a row, a modal window (Bootstrap panel) opens with a panel-body section for editing the data and a panel-footer containing a btn-group for actions like "Save", "Cancel", or "Close". This s ...

Incorporate JSON data using jQuery's AJAX in MVC3

I need assistance with parsing the JSON data retrieved from a webservice through my controller. Currently, I am displaying the entire JSON string in a div as text. However, I only want to extract specific values such as "color" and "size". I am unsure of ...

Creating a dynamic top-level object with Gson and assigning it a custom serialized name

Hello, I'm new to the world of programming. I've been working on an app that retrieves JSON data from an API using Retrofit. However, I've encountered a small issue - the JSON response contains a dynamic top-level object: sample.json: { & ...

Material-UI - Switching thumb styles in a range slider

Looking for a way to style two entities differently on the Material-UI Slider? Entity A as a white circle and Entity B as a red circle? While using data-index can work, there's a flaw when sliding. Is there a better approach? if (data-index === 0) { ...

Widget for navigating through Youtube videos

I am currently working on creating a widget that allows users to navigate a YouTube video using buttons. For instance, if the video is of a car race, there would be buttons labeled Lap 1, Lap 2, and so forth. My idea involves adding an extension to the vi ...

The Android system encountered a crash when attempting to edit a bitmap: jni_helper.cc:110 The bitmap is not in the correct format,

I have been developing an application that enables users to shade a specific area of a bitmap by swiping on it. Once the user finishes swiping, a method is called to crop that particular portion of the bitmap and execute a function (although the cropped bi ...

Struggling with dragging Vue.js modals?

I am currently utilizing the vue-js-modal library, and I'm encountering an issue with it. Whenever I set my modal to be draggable by using :draggable="true", I can drag it around but then I am unable to input any text in the form fields. It seems to c ...

Is there a way to navigate to a different page in AngularJS without the need to refresh the current page?

I am searching for a method to redirect to a different page without reloading the current one. Let me describe my scenario. I have a user login requirement. If a user is not logged in and tries to access the URL directly (e.g. "localhost/sample.html") th ...

Show an HTML image encoded in base64 from its origin

Is there a way to embed a base64 image in HTML without having to paste the entire code directly into the file? I'm looking for a more efficient method. For example: <div> <p>Image sourced from an online repository</p> <img src=" ...

Determine if a Node.js Express promise holds any data

I'm looking for assistance with my nodejs application that returns a promise. What I need help with is figuring out how to determine if the result of this promise contains data or if it's just an empty array. I attempted using Object.keys(result) ...

What is the reason behind the lack of asynchronous functionality in the mongoose find method

Outdated code utilizing promises I have some legacy code implemented with mongoose that retrieves data from the database. The schema being accessed is AccountViewPermission. Everything works fine as I am using a .then, which essentially turns it into a Pr ...

What is the best way to handle waiting for a React context provider that requires time to initialize the value it provides?

In my Next.js application, I have a global context that takes five seconds to compute the value provided: import React, { useContext, useEffect, useState } from 'react'; const GlobalContext = React.createContext(); export const GlobalContextPro ...

When trying to add or remove a movie from the Favorite List, I am unable to change the icon of the item menu in the

I am looking to customize the icon for the "action_favorite" item in the Menu Toolbar. When I click on the "toolbar_fav" item, I want it to toggle between displaying a white heart and a red heart icon. Additionally, I want the icon of the "action_favorite" ...

Replace Vue's mixin function

Is it possible to overwrite one of npm's mixins that is used within a component with a local mixin? I have a component from an npm package located in node_modules/somePackageName/components/footer.vue which uses a mixin from node_modules/somePackageN ...